Skip to content

Commit

Permalink
Improving prisma migrations to handle db sleeping
Browse files Browse the repository at this point in the history
  • Loading branch information
pawelblaszczyk5 committed Jan 4, 2024
1 parent dcfc2d3 commit 22faee3
Show file tree
Hide file tree
Showing 3 changed files with 1,688 additions and 1,311 deletions.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@
"dev": "solid-start dev",
"lint": "eslint . --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --ignore-path .gitignore",
"preview": "solid-start start",
"start": "pnpm prisma migrate deploy && node dist/server.js",
"start": "pnpm prisma:deploy && node dist/server.js",
"typecheck": "node scripts/typeCheck.js",
"prepare": "pnpm run prisma:generate",
"prisma:dev": "prisma db push",
"prisma:generate": "prisma generate",
"prisma:migrate": "prisma migrate dev",
"prisma:deploy": "esrun prisma/deploy.ts",
"prisma:studio": "prisma studio",
"prisma:seed": "prisma db seed"
},
Expand Down Expand Up @@ -69,6 +70,7 @@
"eslint-config-canonical": "^39.1.4",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-solid": "^0.9.3",
"execa": "^8.0.1",
"prettier": "2.8.1",
"prettier-plugin-tailwindcss": "^0.2.1",
"prisma": "^4.9.0",
Expand Down
Loading

0 comments on commit 22faee3

Please sign in to comment.