fix(deploy): make stage_test_principal migration idempotent and resolve existing migrations before deploy
Deploy Canina / deploy (push) Successful in 1m7s
Deploy Canina / deploy (push) Successful in 1m7s
This commit is contained in:
1 parent
432f6a21c7
commit
292ed7f920
2 files changed
+5
-2
No files matched your search
+4
-1
@@ -149,10 +149,13 @@ sleep 15
|
||||
echo "Applying committed database migrations..."
|
||||
for migration in \
|
||||
20261013210253_add_admin_modules \
|
||||
20261015000000_add_support_conversations \
|
||||
20261020000000_add_blog_freshness_authorship \
|
||||
20261022000000_add_orchestration_v4_core \
|
||||
20261022190000_harden_orchestration_ledger \
|
||||
20261023170000_prepare_workflow_outbox \
|
||||
20261024060000_prepare_not_before; do
|
||||
20261024060000_prepare_not_before \
|
||||
20261024090000_stage_test_principal; do
|
||||
docker exec -e PRISMA_HIDE_UPDATE_MESSAGE=true "${CONTAINER_PREFIX}" npx prisma migrate resolve --applied "$migration" >/dev/null 2>&1 || true
|
||||
done
|
||||
docker exec -e PRISMA_HIDE_UPDATE_MESSAGE=true "${CONTAINER_PREFIX}" npx prisma migrate deploy
|
||||
|
||||
Reference in new issue
Block a user