Skip to content

Commit bf79690

Browse files
d-csclaude
andcommitted
remove redundant migrate-run-ops.mjs script
The run-ops database is migrated first-class by the @internal/run-ops-database package's own prisma migrate deploy (its schema.prisma datasource reads RUN_OPS_DATABASE_URL and it owns its own migrations dir), which the root db:migrate already sweeps via turbo. The bespoke script instead ran prisma migrate deploy from the control-plane database package against the run-ops DB, applying the full control-plane migration history rather than the run-ops subset — redundant with the native flow and wrong. Drop the script and its two script entries (root package.json, database package.json). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 7dd344c commit bf79690

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

internal-packages/database/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
"generate": "prisma generate",
1919
"db:migrate:dev:create": "prisma migrate dev --create-only",
2020
"db:migrate:deploy": "prisma migrate deploy",
21-
"db:migrate:run-ops": "node scripts/migrate-run-ops.mjs",
2221
"db:push": "prisma db push",
2322
"db:studio": "prisma studio",
2423
"db:reset": "prisma migrate reset",

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
"build:force": "turbo run build --force",
1313
"build:db:seed": "turbo run build:db:seed",
1414
"db:migrate": "turbo run db:migrate:deploy generate",
15-
"db:migrate:run-ops": "pnpm --filter @trigger.dev/database run db:migrate:run-ops",
1615
"db:seed": "turbo run db:seed",
1716
"db:studio": "turbo run db:studio",
1817
"db:populate": "turbo run db:populate",

0 commit comments

Comments
 (0)