fix
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@ export const _ = {
|
||||
|
||||
try {
|
||||
const result = await execQuery(body, g.db);
|
||||
res.send(result);
|
||||
return result;
|
||||
} catch (e: any) {
|
||||
console.log("_dbs error", body, e.message);
|
||||
res.sendStatus(500);
|
||||
|
||||
@@ -109,6 +109,7 @@ export const _ = {
|
||||
|
||||
try {
|
||||
await $({ cwd: dir("app/db") })`bun install`;
|
||||
await $({})`cp -f .env app/db`;
|
||||
await $({ cwd: dir("app/db") })`bun prisma db pull --force`;
|
||||
await $({ cwd: dir("app/db") })`bun prisma generate`;
|
||||
await Bun.write(
|
||||
|
||||
Reference in New Issue
Block a user