mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 10:53:28 -05:00
12 lines
252 B
Python
12 lines
252 B
Python
from alembic import op
|
|
|
|
revision = '30_rm_unique_constraint'
|
|
down_revision = '20_initialise_data'
|
|
|
|
|
|
def upgrade():
|
|
op.drop_constraint("users_name_key", "users")
|
|
|
|
|
|
def downgrade():
|
|
op.create_unique_constraint("users_name_key", "users", ["name"]) |