fix: make alembic migration mandatory — fail deploy if migration fails
Some checks failed
Deploy to Production / Build and Deploy (push) Failing after 2m15s
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user