HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //home/arjun/projects/buyercall/buyercall/migrations/versions/22a43ab5c037_renamed_status_table.py
"""renamed status table

Revision ID: 22a43ab5c037
Revises: 48f6f57cca54
Create Date: 2020-09-03 18:21:19.297990

"""

# revision identifiers, used by Alembic.
revision = '22a43ab5c037'
down_revision = '48f6f57cca54'
branch_labels = None
depends_on = None

from alembic import op
import sqlalchemy as sa
from sqlalchemy.dialects import postgresql


def upgrade():
    op.execute("ALTER TABLE status RENAME TO statuses")


def downgrade():
    op.execute("ALTER TABLE statuses RENAME TO status")