mike/backend
JJ cfdcda6d2c fix(db): add missing chat_messages.workflow column
User messages are persisted with a `workflow` field
(backend/src/routes/chat.ts, projectChat.ts) and it is read back when
rendering chat history (ChatView -> UserMessage) to show which workflow a
message was sent under. But the column is never created by schema.sql or any
migration, so every user-message insert fails with PostgREST PGRST204
("Could not find the 'workflow' column of 'chat_messages'") and is dropped
silently (the insert result is not checked). The assistant insert has no
workflow column, so it succeeds — the net effect on a self-hosted install is
that reloading a thread shows the assistant reply but not the user's prompt.

Add the `workflow jsonb` column to schema.sql (fresh installs) and a
migration (existing installs), mirroring the adjacent content/files jsonb
columns.
2026-07-16 07:44:25 +10:00
..
migrations fix(db): add missing chat_messages.workflow column 2026-07-16 07:44:25 +10:00
src feat: workflow, UI and document support updates 2026-07-08 18:27:28 +08:00
.env.example Add courtlistener intergration, liquid glass redesign, UI improvements, version control, various fixes 2026-06-06 15:48:47 +08:00
.gitignore Refactor ProjectPageParts and ProjectPageHeader components for improved loading states and skeleton UI. Update Modal and PageHeader components to support loading states. Enhance RenameableTitle for better caret positioning. Adjust DisplayWorkflowModal to utilize the new Modal component structure. Update WorkflowList to include loading indicators and improve sticky header behavior. 2026-06-11 21:50:58 +08:00
bun.lock feat: workflow, UI and document support updates 2026-07-08 18:27:28 +08:00
nixpacks.toml Sync deployment and project page fixes 2026-05-13 02:32:26 +08:00
package-lock.json Sync workflow, asst extra input, excel + ppt support and modal updates 2026-07-04 23:24:31 +08:00
package.json feat: workflow, UI and document support updates 2026-07-08 18:27:28 +08:00
schema.sql fix(db): add missing chat_messages.workflow column 2026-07-16 07:44:25 +10:00
tsconfig.json Sync security and backend profile updates 2026-05-08 20:45:16 +08:00