mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-10 15:22:24 -05:00
remove priority column
This commit is contained in:
22
migrations/versions/0412_remove_priority.py
Normal file
22
migrations/versions/0412_remove_priority.py
Normal file
@@ -0,0 +1,22 @@
|
||||
"""
|
||||
|
||||
Revision ID: 0412_remove_priority
|
||||
Revises: 411_add_login_uuid
|
||||
|
||||
"""
|
||||
|
||||
import sqlalchemy as sa
|
||||
from alembic import op
|
||||
|
||||
revision = "0412_remove_priority"
|
||||
down_revision = "0411_add_login_uuid"
|
||||
|
||||
|
||||
def upgrade():
|
||||
op.drop_column("provider_details", sa.Column("priority"))
|
||||
op.drop_column("provider_details_history", sa.Column("priority"))
|
||||
|
||||
|
||||
def downgrade():
|
||||
op.add_column("provider_details", sa.Column("priority", sa.Integer()))
|
||||
op.add_column("provider_details_history", sa.Column("priority", sa.Integer()))
|
||||
Reference in New Issue
Block a user