boartty/gertty/alembic/versions/1cdd4e2e74c_add_revision_indexes.py
Christoph Gysin f48df0ffdd flake8: Fix F401,F403
This commit fixes the following flake8 issues:

F401 'foo' imported but unused
F403 'from foo import *' used; unable to detect undefined names

Change-Id: I163224c65f54a2e495d6469c1c26a115ad192e23
2015-04-12 16:40:40 -04:00

23 lines
428 B
Python

"""add revision indexes
Revision ID: 1cdd4e2e74c
Revises: 4a802b741d2f
Create Date: 2015-03-10 16:17:41.330825
"""
# revision identifiers, used by Alembic.
revision = '1cdd4e2e74c'
down_revision = '4a802b741d2f'
from alembic import op
def upgrade():
op.create_index(op.f('ix_revision_commit'), 'revision', ['commit'])
op.create_index(op.f('ix_revision_parent'), 'revision', ['parent'])
def downgrade():
pass