Skip to content

Commit

Permalink
✏️ Fix URL starting with postgres error message
Browse files Browse the repository at this point in the history
  • Loading branch information
baptisteArno committed Jan 17, 2024
1 parent 3610287 commit 30d6fcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/prisma/scripts/executeCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
Expand Down

0 comments on commit 30d6fcc

Please sign in to comment.