"""order name not unique

Revision ID: 1139f0b4c9e3
Revises: 220436d6dcdc
Create Date: 2016-05-31 08:59:21.225314

"""

# revision identifiers, used by Alembic.
revision = '1139f0b4c9e3'
down_revision = '220436d6dcdc'

from alembic import op
import sqlalchemy as sa


def 
():
    ### commands auto generated by Alembic - please adjust! ###
    op.drop_constraint('orders_name_key', 'orders', type_='unique')
    ### end Alembic commands ###


def downgrade():
    ### commands auto generated by Alembic - please adjust! ###
    op.create_unique_constraint('orders_name_key', 'orders', ['name'])
    ### end Alembic commands ###

upgrade