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