497c76393f9_.py 624 Bytes
Newer Older
Robin Sonnabend's avatar
Robin Sonnabend committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
"""empty message

Revision ID: 497c76393f9
Revises: c14363cf9b
Create Date: 2015-11-07 21:39:34.419696

"""

# revision identifiers, used by Alembic.
revision = '497c76393f9'
down_revision = 'c14363cf9b'

from alembic import op
import sqlalchemy as sa


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


def downgrade():
    ### commands auto generated by Alembic - please adjust! ###
    op.create_unique_constraint('topics_index_key', 'topics', ['index'])
    ### end Alembic commands ###