Update: remove shadow database url from schema

This is a quick solution to a migration issue involving the shadow db
This commit is contained in:
Aaron William Po
2023-05-04 01:54:58 -04:00
parent 1971959ea4
commit 7922b6107b
3 changed files with 44 additions and 68 deletions

View File

@@ -6,10 +6,9 @@ generator client {
}
datasource db {
provider = "postgresql"
url = env("POSTGRES_PRISMA_URL") // uses connection pooling
directUrl = env("POSTGRES_URL_NON_POOLING") // uses a direct connection
shadowDatabaseUrl = env("POSTGRES_URL_NON_POOLING") // used for migrations
provider = "postgresql"
url = env("POSTGRES_PRISMA_URL") // uses connection pooling
directUrl = env("POSTGRES_URL_NON_POOLING") // uses a direct connection
}
model User {