fix production db

This commit is contained in:
root
2026-05-17 00:35:35 -04:00
parent 1294109c55
commit be98e3e65d
9 changed files with 150 additions and 0 deletions
+2
View File
@@ -3,6 +3,7 @@
const { spawnSync } = require('node:child_process')
const { readdirSync } = require('node:fs')
const path = require('node:path')
const { ensureDatabaseUrl } = require('../src/runtime-config')
const { PrismaClient } = require('../generated')
const repoRoot = path.resolve(__dirname, '../../..')
@@ -23,6 +24,7 @@ function run(command, args) {
}
async function main() {
ensureDatabaseUrl()
const prisma = new PrismaClient()
try {