fix(db): disable statement_timeout for migrations (#4714)

* fix(db): disable statement_timeout for migrations

* fix(ci): route migration workflow through guarded migrate.ts
This commit is contained in:
Theodore Li
2026-05-22 14:23:06 -04:00
committed by GitHub
parent afcbcf2b54
commit 786c6f0607
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -39,4 +39,4 @@ jobs:
working-directory: ./packages/db
env:
DATABASE_URL: ${{ github.ref == 'refs/heads/main' && secrets.DATABASE_URL || github.ref == 'refs/heads/dev' && secrets.DEV_DATABASE_URL || secrets.STAGING_DATABASE_URL }}
run: bunx drizzle-kit migrate --config=./drizzle.config.ts
run: bun run ./scripts/migrate.ts