This commit is contained in:
commit
59bb5a38a3
132 files changed
+19435
No files matched your search
@@ -0,0 +1,15 @@
|
||||
import "dotenv/config";
|
||||
import { defineConfig } from "prisma/config";
|
||||
|
||||
export default defineConfig({
|
||||
schema: "prisma/schema.prisma",
|
||||
migrations: {
|
||||
path: "prisma/migrations",
|
||||
seed: "tsx scripts/seed-dev.ts",
|
||||
},
|
||||
datasource: {
|
||||
// Zur Build-Zeit reicht ein Platzhalter (prisma generate verbindet sich
|
||||
// nicht); migrate/seed brauchen die echte URL aus der Umgebung.
|
||||
url: process.env.DATABASE_URL ?? "postgresql://placeholder@localhost:5432/placeholder",
|
||||
},
|
||||
});
|
||||
Reference in new issue
Block a user