Alembic Database Syncronization #16

Merged
andika merged 2 commits from dev into loaf-prod 2026-01-05 10:09:27 +00:00
Showing only changes of commit 82319509c3 - Show all commits

View File

@@ -207,9 +207,7 @@ def upgrade() -> None:
except Exception as e:
print(f" ⚠️ Warning: Type conversion failed: {e}")
# Fix nullable constraints
op.alter_column('event_galleries', 'created_by', nullable=False)
print(" ✓ Fixed nullable constraint")
# Note: uploaded_by column already has correct nullable=False in both DEV and PROD
# ============================================================
# 6. FIX BYLAWS_DOCUMENTS TABLE