Commit 75a9eac
committed
fix(db): exclude the one-off-script ledger from drizzle management
script_migrations is created and read by script-migrations/index.ts, not
the schema. Dev's db:push saw it as an unknown table: it prompted
'created or renamed?' (no TTY in CI, job red since the revamp landed on
dev) and on --force would have DROPPED the ledger, re-running every
applied one-off script. tablesFilter tells drizzle the table is not its
business.
Claude-Session: https://claude.ai/code/session_01CgaxNAaeD3taGdghbXn17w1 parent 09143e1 commit 75a9eac
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
18 | 23 | | |
0 commit comments