Jul 7 - Fix alembic migration script

This commit is contained in:
2026-07-07 20:31:32 -04:00
parent a3c6fd73bd
commit 8b5a4758e5
2 changed files with 9 additions and 5 deletions
@@ -10,12 +10,16 @@ app/utils/notifications.py, AFTER the global matrix roles and custom emails.
Idempotent: guarded by an INFORMATION_SCHEMA table-existence check so it is
safe to re-run across every tenant DB (CLAUDE.md rule 14).
NOTE: the revision id is deliberately short alembic_version.version_num is
VARCHAR(32); ids longer than 32 chars fail the version-pointer UPDATE with
MySQL error 1406 ("Data too long for column 'version_num'").
"""
import sqlalchemy as sa
from alembic import op
revision = 'phase37_project_notification_recipients'
revision = 'phase37_contract_recipients'
down_revision = 'phase36_issue_work_orders'
branch_labels = None
depends_on = None