You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/api/package.json
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,14 @@
1
1
{
2
2
"name": "api",
3
-
"version": "0.6.23",
3
+
"version": "0.6.24",
4
4
"private": true,
5
5
"scripts": {
6
6
"dev": "nest start --watch",
7
7
"build": "nest build",
8
8
"start": "node dist/main",
9
9
"start:prod": "node dist/main",
10
10
"db:generate": "prisma generate",
11
+
"db:migrate": "prisma migrate deploy",
11
12
"db:push": ". ./.env 2>/dev/null; DATABASE_URL=${DATABASE_URL_MIGRATE:-$DATABASE_URL} prisma db push",
12
13
"db:seed": "tsx prisma/seed.ts",
13
14
"db:dangerous-reset": "echo '⚠️ This will DELETE ALL DATA. Press Ctrl+C to cancel.' && sleep 3 && . ./.env 2>/dev/null; DATABASE_URL=${DATABASE_URL_MIGRATE:-$DATABASE_URL} prisma db push --force-reset && npm run db:seed",
0 commit comments