mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 16:24:08 -04:00
Add indexes for the users table
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
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"])
|
||||
Reference in New Issue
Block a user