fix(support-chat): baseline legacy migration in CI
Deploy Canina / deploy (push) Failing after 1m10s

This commit is contained in:
devops committed 2026-10-15 18:33:20 +00:00
1 parent 8795617d7f
commit 7b376f1126
2 files changed
+4 -1

No files matched your search

+3
View File
@@ -145,6 +145,9 @@ sleep 15
# This is intentionally migrate deploy (not db push): it is repeatable,
# fail-closed, and applies only migrations already reviewed and committed.
echo "Applying committed database migrations..."
if [ "$BRANCH" = "main" ]; then
docker exec "${CONTAINER_PREFIX}" npx prisma migrate resolve --applied 20261013210253_add_admin_modules >/dev/null 2>&1 || true
fi
docker exec "${CONTAINER_PREFIX}" npx prisma migrate deploy
# Code-only deployment: seed and destructive data changes are not performed here.