feat: move to V2
CI / build-and-test (push) Canceled after 0s

This commit is contained in:
2026-10-29 11:21:52 +01:00
parent 6342b8451e
commit 314717ba3a
244 changed files with 11615 additions and 15292 deletions
+16
View File
@@ -0,0 +1,16 @@
import 'dotenv/config';
import { defineConfig } from 'prisma/config';
export default defineConfig({
schema: 'prisma/schema.prisma',
migrations: {
path: 'prisma/migrations',
seed: 'tsx prisma/seed.ts',
},
datasource: {
// Not required for generating the client, which needs no database
url: process.env.DATABASE_URL ?? '',
// Only for checking the migrations against the schema (`migrate diff --from-migrations`)
shadowDatabaseUrl: process.env.SHADOW_DATABASE_URL,
},
});