From 30d6fcc880e4de9c6499b99c3cbff3905f17417e Mon Sep 17 00:00:00 2001 From: Baptiste Arnaud Date: Wed, 17 Jan 2024 15:01:19 +0100 Subject: [PATCH] :pencil2: Fix URL starting with postgres error message --- packages/prisma/scripts/executeCommand.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/prisma/scripts/executeCommand.ts b/packages/prisma/scripts/executeCommand.ts index 99008fa99..411cd8e97 100644 --- a/packages/prisma/scripts/executeCommand.ts +++ b/packages/prisma/scripts/executeCommand.ts @@ -35,7 +35,7 @@ export const executePrismaCommand = (command: string, options?: Options) => { } if (process.env.DATABASE_URL?.startsWith('postgres://')) { - console.error('PostgreSQL `DATABASE_URL` should start with postgres') + console.error('PostgreSQL `DATABASE_URL` should start with postgresql://') process.exit(1) } }