nexus/packages/db/src/schema
Nexus Dev 6e3387ea88 feat(23-00): DB migration and shared types for message_type
- Add message_type text column to chat_messages Drizzle schema
- Create SQL migration 0049_add_message_type.sql
- Update _journal.json with entries for idx 47, 48, 49
- Add messageType field to ChatMessage interface
- Add messageType to createMessageSchema (optional)
- Add handoffSchema and Handoff type to validators/chat.ts
- Re-export handoffSchema and Handoff from shared/src/index.ts
2026-04-02 15:08:51 +00:00
..
activity_log.ts Add issue identifiers, activity run tracking, and migration inspection 2026-02-19 09:09:26 -06:00
agent_api_keys.ts Expand data model with companies, approvals, costs, and heartbeats 2026-02-17 09:07:22 -06:00
agent_config_revisions.ts Add agent config revisions, issue-approval links, and robust migration reconciliation 2026-02-19 13:02:14 -06:00
agent_runtime_state.ts Add agent runtime DB schemas and expand shared types 2026-02-17 12:24:38 -06:00
agent_task_sessions.ts Add agent task sessions table, session types, and programmatic DB backup 2026-02-19 14:01:40 -06:00
agent_wakeup_requests.ts Add agent runtime DB schemas and expand shared types 2026-02-17 12:24:38 -06:00
agents.ts feat(costs): add billing, quota, and budget control plane 2026-03-16 15:11:01 -05:00
approval_comments.ts Scaffold agent permissions, approval comments, and hiring governance types 2026-02-19 09:10:48 -06:00
approvals.ts Expand data model with companies, approvals, costs, and heartbeats 2026-02-17 09:07:22 -06:00
assets.ts feat: add storage system with local disk and S3 providers 2026-02-20 10:31:56 -06:00
auth.ts feat: add auth/access foundation - deps, DB schema, shared types, and config 2026-02-23 14:40:16 -06:00
board_api_keys.ts Address Greptile review on board CLI auth 2026-03-23 08:46:05 -05:00
budget_incidents.ts Fix budget incident resolution edge cases 2026-03-16 16:48:13 -05:00
budget_policies.ts feat(costs): add billing, quota, and budget control plane 2026-03-16 15:11:01 -05:00
chat_conversations.ts feat(21-01): add chat_conversations and chat_messages Drizzle schema + migration 2026-04-02 15:08:50 +00:00
chat_messages.ts feat(23-00): DB migration and shared types for message_type 2026-04-02 15:08:51 +00:00
cli_auth_challenges.ts Add browser-based board CLI auth flow 2026-03-23 08:46:05 -05:00
companies.ts Harden budget enforcement and migration startup 2026-03-16 15:11:34 -05:00
company_logos.ts Use asset-backed company logos 2026-03-16 09:25:39 -05:00
company_memberships.ts feat: add auth/access foundation - deps, DB schema, shared types, and config 2026-02-23 14:40:16 -06:00
company_secret_versions.ts Add secrets infrastructure: DB tables, shared types, env binding model, and migration improvements 2026-02-19 15:43:43 -06:00
company_secrets.ts Add secrets infrastructure: DB tables, shared types, env binding model, and migration improvements 2026-02-19 15:43:43 -06:00
company_skills.ts Namespace company skill identities 2026-03-16 18:27:20 -05:00
cost_events.ts feat(costs): add billing, quota, and budget control plane 2026-03-16 15:11:01 -05:00
document_revisions.ts Add issue document revision restore flow 2026-03-26 08:24:57 -05:00
documents.ts feat(issues): add issue documents and inline editing 2026-03-13 21:30:48 -05:00
execution_workspaces.ts Implement execution workspaces and work products 2026-03-13 17:12:25 -05:00
finance_events.ts feat(costs): add billing, quota, and budget control plane 2026-03-16 15:11:01 -05:00
goals.ts Expand data model with companies, approvals, costs, and heartbeats 2026-02-17 09:07:22 -06:00
heartbeat_run_events.ts Add agent runtime DB schemas and expand shared types 2026-02-17 12:24:38 -06:00
heartbeat_runs.ts Improve orphaned local heartbeat recovery 2026-03-20 06:05:15 -05:00
index.ts feat(21-01): add chat_conversations and chat_messages Drizzle schema + migration 2026-04-02 15:08:50 +00:00
instance_settings.ts Add username log censor setting 2026-03-20 08:50:00 -05:00
instance_user_roles.ts feat: add auth/access foundation - deps, DB schema, shared types, and config 2026-02-23 14:40:16 -06:00
invites.ts feat: add auth/access foundation - deps, DB schema, shared types, and config 2026-02-23 14:40:16 -06:00
issue_approvals.ts Add agent config revisions, issue-approval links, and robust migration reconciliation 2026-02-19 13:02:14 -06:00
issue_attachments.ts feat: add storage system with local disk and S3 providers 2026-02-20 10:31:56 -06:00
issue_comments.ts Add touched/unread inbox issue semantics 2026-03-06 08:21:03 -06:00
issue_documents.ts feat(issues): add issue documents and inline editing 2026-03-13 21:30:48 -05:00
issue_inbox_archives.ts Add the inbox mine tab and archive flow 2026-03-26 16:09:43 -05:00
issue_labels.ts feat: add issue labels (DB schema, API, and service) 2026-02-25 08:38:37 -06:00
issue_read_states.ts Persist issue read state and clear unread on open 2026-03-06 08:34:19 -06:00
issue_work_products.ts Implement execution workspaces and work products 2026-03-13 17:12:25 -05:00
issues.ts Fix routine coalescing for idle execution issues 2026-03-20 07:21:38 -05:00
join_requests.ts feat: join request claim secrets, onboarding API, and company branding 2026-02-26 16:33:20 -06:00
labels.ts feat: add issue labels (DB schema, API, and service) 2026-02-25 08:38:37 -06:00
plugin_company_settings.ts Add plugin framework and settings UI 2026-03-13 16:22:34 -05:00
plugin_config.ts Add plugin framework and settings UI 2026-03-13 16:22:34 -05:00
plugin_entities.ts Add plugin framework and settings UI 2026-03-13 16:22:34 -05:00
plugin_jobs.ts Add plugin framework and settings UI 2026-03-13 16:22:34 -05:00
plugin_logs.ts Add plugin framework and settings UI 2026-03-13 16:22:34 -05:00
plugin_state.ts Add plugin framework and settings UI 2026-03-13 16:22:34 -05:00
plugin_webhooks.ts Add plugin framework and settings UI 2026-03-13 16:22:34 -05:00
plugins.ts Add plugin framework and settings UI 2026-03-13 16:22:34 -05:00
principal_permission_grants.ts feat: add auth/access foundation - deps, DB schema, shared types, and config 2026-02-23 14:40:16 -06:00
project_goals.ts feat: add project_goals many-to-many join table 2026-02-20 13:43:25 -06:00
project_workspaces.ts Implement execution workspaces and work products 2026-03-13 17:12:25 -05:00
projects.ts feat(costs): add billing, quota, and budget control plane 2026-03-16 15:11:01 -05:00
routines.ts Add routines automation workflows 2026-03-19 08:39:24 -05:00
workspace_operations.ts Add workspace operation tracking and fix project properties JSX 2026-03-17 09:36:35 -05:00
workspace_runtime_services.ts Implement execution workspaces and work products 2026-03-13 17:12:25 -05:00