Skip to content

Commit

Permalink
add db reset command
Browse files Browse the repository at this point in the history
  • Loading branch information
timothycarambat committed Dec 1, 2023
1 parent 7f12cbb commit db4ab5c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"lint": "cd backend && yarn lint && cd ../frontend && yarn lint && cd ../workers && yarn lint",
"prisma:generate": "cd backend && npx prisma generate",
"prisma:migrate": "cd backend && npx prisma migrate dev --name init",
"prisma:setup": "yarn prisma:generate && yarn prisma:migrate"
"prisma:setup": "yarn prisma:generate && yarn prisma:migrate",
"prisma:reset": "cd backend && npx prisma db push --force-reset"
},
"private": false
}

0 comments on commit db4ab5c

Please sign in to comment.