Update hivegrid-cloud reference to latest main
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e98d38e716
commit
7b21524c86
3781 files changed
+373484
-225607
No files matched your search
@@ -3,7 +3,7 @@ import {
|
||||
PRISMA_MIGRATIONS_PATH,
|
||||
PRISMA_SCHEMA_PATH,
|
||||
PRISMA_SEED_COMMAND,
|
||||
} from "@toolctrl/db/prisma";
|
||||
} from "@hivegrid/db/prisma";
|
||||
import { defineConfig, env } from "prisma/config";
|
||||
|
||||
export default defineConfig({
|
||||
@@ -19,5 +19,11 @@ export default defineConfig({
|
||||
// DATABASE_URL when DIRECT_URL is not set (single-tier dev setups
|
||||
// without PgBouncer). See docs/ops/pgbouncer.md.
|
||||
url: env(process.env.DIRECT_URL ? "DIRECT_URL" : "DATABASE_URL"),
|
||||
// Optional shadow DB for `prisma migrate diff --from-migrations` (Prisma 7
|
||||
// removed the --shadow-database-url flag). Used by the migrations/schema
|
||||
// parity check; regular migrate deploy/status ignore it.
|
||||
...(process.env.SHADOW_DATABASE_URL
|
||||
? { shadowDatabaseUrl: env("SHADOW_DATABASE_URL") }
|
||||
: {}),
|
||||
},
|
||||
});
|
||||
Reference in new issue
Block a user