From 7db95524523553c082e8e24b3b0ece3df792f9fd Mon Sep 17 00:00:00 2001 From: Alex Ruheni <33921841+ruheni@users.noreply.github.com> Date: Tue, 28 Nov 2023 11:40:34 +0000 Subject: [PATCH] fix(schema.prisma): Remove `shadowDatabaseUrl` `shadowDatabaseUrl` is no longer required for Vercel Postgres and may cause issues when set to the same value as `directUrl` --- web/prisma/schema.prisma | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/web/prisma/schema.prisma b/web/prisma/schema.prisma index 0e55a36..fc90684 100644 --- a/web/prisma/schema.prisma +++ b/web/prisma/schema.prisma @@ -2,7 +2,6 @@ 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 extensions = [vector] } @@ -27,4 +26,4 @@ model Course { embedding Unsupported("vector(384)")? @@map("course") -} \ No newline at end of file +}