"""users table4

Revision ID: 61126f964f92
Revises: ac1885c19660
Create Date: 2020-11-04 01:55:17.938655

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = '61126f964f92'
down_revision = 'ac1885c19660'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_index('ix_user_businessname', table_name='user')
    op.create_index(op.f('ix_user_businessname'), 'user', ['businessname'], unique=False)
    op.drop_index('ix_user_businesstype', table_name='user')
    op.create_index(op.f('ix_user_businesstype'), 'user', ['businesstype'], unique=False)
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_index(op.f('ix_user_businesstype'), table_name='user')
    op.create_index('ix_user_businesstype', 'user', ['businesstype'], unique=1)
    op.drop_index(op.f('ix_user_businessname'), table_name='user')
    op.create_index('ix_user_businessname', 'user', ['businessname'], unique=1)
    # ### end Alembic commands ###
