Merge branch 'deployMigration' into 'main'
add deploy migrate command See merge request v3/service/user!21
This commit is contained in:
commit
9c2a2f96e5
|
@ -24,7 +24,8 @@
|
||||||
"generate": "docker exec v3-user-api sh -c 'npx prisma generate'",
|
"generate": "docker exec v3-user-api sh -c 'npx prisma generate'",
|
||||||
"migrate": "docker exec v3-user-api sh -c 'npx prisma migrate dev'",
|
"migrate": "docker exec v3-user-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"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@automapper/classes": "^8.7.7",
|
"@automapper/classes": "^8.7.7",
|
||||||
|
|
Loading…
Reference in New Issue