Skip to content

Commit c2cce6e

Browse files
Updated prisma file to work with prisma v7 (url and shadowDatabaseUrl depracated).
1 parent 0f0df39 commit c2cce6e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

schema.prisma

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
// =============================================================================
66

77
datasource db {
8-
provider = "postgresql"
9-
url = env("DATABASE_URL")
10-
shadowDatabaseUrl = env("SHADOW_DATABASE_URL")
11-
//schemas = ["bsc", "public"]
8+
provider = "postgresql"
9+
// Connection URLs were moved to prisma.config.ts per Prisma v7+:
10+
// - Migrate connection URL and shadow DB URL should be configured in prisma.config.ts
11+
//schemas = ["bsc", "public"]
1212
}
1313

1414
generator client {

0 commit comments

Comments
 (0)