Skip to content

Commit 4404222

Browse files
committed
Prisma deploy instead of dev
1 parent 1812bb5 commit 4404222

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
- `npm i`
1313
- `npm run test`
1414
- Create DB structure `npx prisma db push`
15-
- Apply migrations`npx prisma migrate dev`
15+
- Apply migrations `npx prisma migrate deploy`
1616
- `npm run test:e2e`
1717
- Seed initial data `npx prisma db seed`
1818
- `npm run start:debug`

prisma/entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ npx ts-node manual_migrations.ts
1010

1111
# apply migration
1212
npx prisma db push
13-
npx prisma migrate dev
13+
npx prisma migrate deploy
1414

1515
echo Seeding data...
1616

0 commit comments

Comments
 (0)