Commit 4abf5d8
fix(db): build the 0255 output-name index CONCURRENTLY
workspace_files is an existing (hot) table, so the plain CREATE UNIQUE
INDEX that drizzle-kit generated would hold ACCESS EXCLUSIVE for the
whole build. Rewritten to the runner convention: COMMIT breakpoint,
lock_timeout 0, CREATE UNIQUE INDEX CONCURRENTLY IF NOT EXISTS, restore
lock_timeout (mirrors migration 0250). A pre-existing duplicate pair
fails the build into an INVALID index that migrate.ts WARNs about —
dedupe, drop, re-run.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 573a425 commit 4abf5d8
1 file changed
Lines changed: 10 additions & 1 deletion
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
0 commit comments