fix: make alembic migration mandatory — fail deploy if migration fails
Some checks failed
Deploy to Production / Build and Deploy (push) Failing after 2m15s

Removed silent fallback that was hiding migration failures.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-17 01:32:35 +02:00
parent 3069cf5928
commit ee65428fa8

View File

@@ -42,7 +42,8 @@ except:
# Run database migrations
echo "📦 Running database migrations..."
alembic upgrade head || echo "⚠️ Migration skipped (may already be up to date)"
alembic upgrade head
echo "✅ Migrations applied successfully"
fi
# Wait for Redis if configured