nexus/packages/db/src
Nexus Dev 138d7b6893 feat(21-01): add chat_conversations and chat_messages Drizzle schema + migration
- Create chatConversations table with companyId FK, agentId FK (set null), pinned/archived/deleted timestamps
- Create chatMessages table with conversationId FK (cascade delete), role, content, agentId
- Export both tables from packages/db/src/schema/index.ts
- Generate migration 0047_nebulous_klaw.sql with full DDL, FK constraints, and indexes
2026-04-04 03:55:47 +00:00
..
migrations feat(21-01): add chat_conversations and chat_messages Drizzle schema + migration 2026-04-04 03:55:47 +00:00
schema feat(21-01): add chat_conversations and chat_messages Drizzle schema + migration 2026-04-04 03:55:47 +00:00
backup-lib.test.ts fix(ui): polish issue detail timelines and attachments 2026-04-02 11:51:40 -05:00
backup-lib.ts fix(ui): address final Greptile follow-up 2026-04-02 12:21:35 -05:00
backup.ts Add configurable automatic database backup scheduling 2026-03-04 18:03:23 -06:00
check-migration-numbering.ts feat(routines): add workspace-aware routine runs 2026-04-02 11:38:57 -05:00
client.test.ts feat(routines): add workspace-aware routine runs 2026-04-02 11:38:57 -05:00
client.ts Add routines automation workflows 2026-03-19 08:39:24 -05:00
embedded-postgres-error.test.ts Improve embedded Postgres bootstrap errors 2026-03-26 12:35:19 -05:00
embedded-postgres-error.ts Improve embedded Postgres bootstrap errors 2026-03-26 12:35:19 -05:00
index.ts Improve embedded Postgres bootstrap errors 2026-03-26 12:35:19 -05:00
migrate.ts Fix dev migration prompt and embedded db:migrate 2026-03-10 15:31:05 -05:00
migration-runtime.ts Improve embedded Postgres bootstrap errors 2026-03-26 12:35:19 -05:00
migration-status.ts feat(costs): add billing, quota, and budget control plane 2026-03-16 15:11:01 -05:00
runtime-config.test.ts Fix env-sensitive worktree and runtime config tests 2026-03-11 16:38:31 -05:00
runtime-config.ts Fix dev migration prompt and embedded db:migrate 2026-03-10 15:31:05 -05:00
seed.ts Expand data model with companies, approvals, costs, and heartbeats 2026-02-17 09:07:22 -06:00
test-embedded-postgres.ts test(worktree): address embedded postgres helper review feedback 2026-03-26 11:56:05 -05:00