Merge branch 'deployMigration' into 'main'

add deploy migrate command

See merge request v3/service/configuration!12
This commit is contained in:
Sylvain Briat 2023-03-10 14:16:08 +00:00
commit 2e3e7c2a04
1 changed files with 2 additions and 1 deletions

View File

@ -24,7 +24,8 @@
"generate": "docker exec v3-configuration-api sh -c 'npx prisma generate'",
"migrate": "docker exec v3-configuration-api sh -c 'npx prisma migrate dev'",
"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": {
"@automapper/classes": "^8.7.7",