We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a5f1b5c + eeb6d2b commit fa5cabcCopy full SHA for fa5cabc
2 files changed
package.json
@@ -4,7 +4,7 @@
4
"private": true,
5
"scripts": {
6
"dev": "next dev",
7
- "build": "npx prisma generate && next build",
+ "build": "npx prisma migrate deploy && npx prisma generate && next build",
8
"db:migrate:deploy": "npx prisma migrate deploy",
9
"start": "next start",
10
"lint": "eslint",
prisma.config.ts
@@ -9,6 +9,6 @@ export default defineConfig({
path: "prisma/migrations",
},
11
datasource: {
12
- url: process.env["DATABASE_URL"],
+ url: process.env["DIRECT_URL"],
13
14
});
0 commit comments