"""add_uid_index

Revision ID: 0fcf578896f3
Revises: 8ce3d6d070da
Create Date: 2016-10-31 13:24:28.947271

"""

# revision identifiers, used by Alembic.
revision = '0fcf578896f3'
down_revision = '8ce3d6d070da'
branch_labels = None
depends_on = None

from alembic import op


def upgrade(engine_name):
    globals()["upgrade_%s" % engine_name]()


def downgrade(engine_name):
    globals()["downgrade_%s" % engine_name]()





def upgrade_data_broker():
    ### commands auto generated by Alembic - please adjust! ###
    op.create_index('ix_session_uid', 'session_map', ['uid'], unique=False)
    ### end Alembic commands ###


def downgrade_data_broker():
    ### commands auto generated by Alembic - please adjust! ###
    op.drop_index('ix_session_uid', table_name='session_map')
    ### end Alembic commands ###

