Merge branch 'use_prisma_deploy' into 'main'
use prisma deploy as default for migrate, add migrate:dev command See merge request v3/service/territory!22
This commit is contained in:
commit
1723c767d5
|
@ -25,7 +25,8 @@
|
||||||
"test:cov": "jest --testPathPattern 'tests/unit/' --coverage",
|
"test:cov": "jest --testPathPattern 'tests/unit/' --coverage",
|
||||||
"test:e2e": "jest --config ./test/jest-e2e.json",
|
"test:e2e": "jest --config ./test/jest-e2e.json",
|
||||||
"generate": "docker exec v3-territory-api sh -c 'npx prisma generate'",
|
"generate": "docker exec v3-territory-api sh -c 'npx prisma generate'",
|
||||||
"migrate": "docker exec v3-territory-api sh -c 'npx prisma migrate dev'",
|
"migrate": "docker exec v3-territory-api sh -c 'npx prisma migrate deploy'",
|
||||||
|
"migrate:dev": "docker exec v3-territory-api sh -c 'npx prisma migrate dev'",
|
||||||
"migrate:test": "dotenv -e .env.test -- npx prisma migrate deploy",
|
"migrate:test": "dotenv -e .env.test -- npx prisma migrate deploy",
|
||||||
"migrate:test:ci": "dotenv -e ci/.env.ci -- npx prisma migrate deploy",
|
"migrate:test:ci": "dotenv -e ci/.env.ci -- npx prisma migrate deploy",
|
||||||
"migrate:deploy": "npx prisma migrate deploy"
|
"migrate:deploy": "npx prisma migrate deploy"
|
||||||
|
|
Loading…
Reference in New Issue