This commit is contained in:
Kenneth Kehl
2023-08-29 14:54:30 -07:00
parent 19dcd7a48b
commit 1ecb747c6d
588 changed files with 34100 additions and 23589 deletions

View File

@@ -8,13 +8,17 @@ Create Date: 2017-11-15 14:39:13.657666
from alembic import op
from sqlalchemy.dialects import postgresql
revision = '0142_validate_constraint'
down_revision = '0141_remove_unused'
revision = "0142_validate_constraint"
down_revision = "0141_remove_unused"
def upgrade():
op.execute('ALTER TABLE notifications VALIDATE CONSTRAINT "notifications_templates_history_fkey"')
op.execute('ALTER TABLE notification_history VALIDATE CONSTRAINT "notification_history_templates_history_fkey"')
op.execute(
'ALTER TABLE notifications VALIDATE CONSTRAINT "notifications_templates_history_fkey"'
)
op.execute(
'ALTER TABLE notification_history VALIDATE CONSTRAINT "notification_history_templates_history_fkey"'
)
def downgrade():