KBN-100: implement unified Drizzle schema and N-1 PostgreSQL migration #769
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Objective
Implement the frozen Native Kanban/SOT v1 unified Drizzle schema and concrete PostgreSQL N-1 migration after the completed KBN-010 gate.
Authority and prerequisites
49e8a54.2e228007; issue #753 closed; post-merge main pipeline #1813 terminal green.1.0.0-rc.4underdocs/native-kanban-sot/.Exclusive implementation scope
packages/db/src/schema.tspackages/db/drizzle/**including journal/metadata and migration testsNo repositories, Gateway, MCP, CLI, Web, Coordinator behavior, fleet lifecycle, Discord/channel, connector fencing, deployment, or production migration execution.
Required delivery
missions_workspace_id_uidx(workspace_id,id)before artifact/approval dependent FKs; retain global mission PK and project-congruent key.Mandatory TDD / evidence
Holds
KBN-105 and all KBN consumers remain blocked until this card merges and closes. No runtime or production migration is authorized by this issue.