Files
notifications-api/migrations/versions/0397_rename_organisation_2.py
Cliff Hill 1157f5639d black, isort, flake8
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2023-12-08 21:43:52 -05:00

22 lines
490 B
Python

"""
Revision ID: 0397_rename_organisation_2
Revises: 0396_rename_organisation
Create Date: 2023-07-13 09:33:52.455290
"""
import sqlalchemy as sa
from alembic import op
from sqlalchemy.dialects import postgresql
revision = "0397_rename_organisation_2"
down_revision = "0396_rename_organisation"
def upgrade():
op.execute("ALTER TABLE organisation_types RENAME to organization_types")
def downgrade():
op.execute("ALTER TABLE organization_types RENAME to organisation_types")