fix production db
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user