Skip to content

Commit 1833230

Browse files
committed
fix: optionally freeze migrations when running migrate-call script
1 parent b42f93b commit 1833230

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/scripts/migrate-call.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ import { runMigrationsOnTenant } from '@internal/database/migrations'
55
;(async () => {
66
await runMigrationsOnTenant({
77
databaseUrl: process.env.DATABASE_URL as string,
8+
upToMigration: process.env.DB_MIGRATIONS_FREEZE_AT,
89
})
910
})()

0 commit comments

Comments
 (0)