Update migration scripts to match the data model

This commit is contained in:
Rebecca Law
2015-12-11 10:29:23 +00:00
parent 01c5bf5190
commit 6373455204
2 changed files with 31 additions and 1 deletions

View File

@@ -37,6 +37,6 @@ def downgrade():
### commands auto generated by Alembic - please adjust! ###
op.create_unique_constraint('users_name_key', 'users', ['name'])
op.drop_index(op.f('ix_verify_codes_user_id'), table_name='verify_codes')
op.drop_type('verify_code_types')
op.drop_table('verify_codes')
op.execute('DROP TYPE verify_code_types')
### end Alembic commands ###