diff --git a/pkgs/api/_deploy.ts b/pkgs/api/_deploy.ts index 7fe8d89..7cd5cc8 100644 --- a/pkgs/api/_deploy.ts +++ b/pkgs/api/_deploy.ts @@ -48,7 +48,6 @@ export const _ = { case "db-sync": { const res = await fetch(action.url); const text = await res.text(); - console.log(text); if (text) { await Bun.write(dir("app/db/prisma/schema.prisma"), text); } diff --git a/pkgs/utils/prisma.ts b/pkgs/utils/prisma.ts index a160a0e..bcfc9ac 100644 --- a/pkgs/utils/prisma.ts +++ b/pkgs/utils/prisma.ts @@ -7,7 +7,6 @@ export const preparePrisma = async () => { if ((await existsAsync(dir("app/db/.env"))) && !g.db) { try { if (g.mode !== "dev") { - await $({ cwd: dir(`app/db`) })`bun prisma db pull --force`; await $({ cwd: dir(`app/db`) })`bun prisma generate`; }