mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-12 00:02:36 -05:00
25 lines
551 B
Python
25 lines
551 B
Python
"""
|
|
|
|
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():
|
|
print("DELETING COLUMNS")
|
|
op.drop_column("provider_details", "priority")
|
|
op.drop_column("provider_details_history", "priority")
|
|
|
|
|
|
def downgrade():
|
|
print("ADDING COLUMNS")
|
|
op.add_column("provider_details", sa.Column("priority", sa.Integer))
|
|
op.add_column("provider_details_history", sa.Column("priority", sa.Integer))
|