17 lines
531 B
TypeScript
17 lines
531 B
TypeScript
import "dotenv/config";
|
|
import { defineConfig, env } from "prisma/config";
|
|
|
|
// Prisma 7 config. The datasource URL lives here (not in schema.prisma).
|
|
// We NEVER run `prisma migrate`/`db push` against this database — it is shared
|
|
// live with the Arcturus emulator. CMS-only schema changes go in
|
|
// prisma/migrations/*.sql (idempotent) applied via `pnpm db:migrate`.
|
|
export default defineConfig({
|
|
schema: "prisma/schema.prisma",
|
|
migrations: {
|
|
path: "prisma/migrations",
|
|
},
|
|
datasource: {
|
|
url: env("DATABASE_URL"),
|
|
},
|
|
});
|