add migration
This commit is contained in:
parent
21d6324eb6
commit
3cb9819332
1 changed files with 26 additions and 0 deletions
26
migrations/versions/4e27d03ac6f9_.py
Normal file
26
migrations/versions/4e27d03ac6f9_.py
Normal file
|
@ -0,0 +1,26 @@
|
|||
"""empty message
|
||||
|
||||
Revision ID: 4e27d03ac6f9
|
||||
Revises: 3c8686a285f5
|
||||
Create Date: 2014-05-27 01:37:54.288697
|
||||
|
||||
"""
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = '4e27d03ac6f9'
|
||||
down_revision = '3c8686a285f5'
|
||||
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
|
||||
def upgrade():
|
||||
### commands auto generated by Alembic - please adjust! ###
|
||||
op.create_index(op.f('ix_find_findvalue'), 'find', ['findvalue'], unique=False)
|
||||
### end Alembic commands ###
|
||||
|
||||
|
||||
def downgrade():
|
||||
### commands auto generated by Alembic - please adjust! ###
|
||||
op.drop_index(op.f('ix_find_findvalue'), table_name='find')
|
||||
### end Alembic commands ###
|
Loading…
Reference in a new issue