mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-04 02:11:11 -05:00
add migration
This commit is contained in:
@@ -13,10 +13,12 @@ down_revision = "0411_add_login_uuid"
|
||||
|
||||
|
||||
def upgrade():
|
||||
print("DELETING COLUMNS")
|
||||
op.drop_column("provider_details", sa.Column("priority"))
|
||||
op.drop_column("provider_details_history", sa.Column("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()))
|
||||
|
||||
Reference in New Issue
Block a user