Commit 3c54a96
committed
fix(db): Remove backfill migration to fix PostgreSQL enum transaction issue
drizzle-kit migrate runs all pending migrations in a single transaction,
so the new enum value is not committed when the UPDATE tries to use it.
Moved backfill to standalone script: scripts/backfill-referral-legacy.sql
Run this manually after migration 0039 is deployed.1 parent 9c027aa commit 3c54a96
File tree
3 files changed
+28
-19
lines changed- packages/internal/src/db/migrations
- meta
- scripts
3 files changed
+28
-19
lines changedLines changed: 0 additions & 12 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | 285 | | |
293 | 286 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
0 commit comments