"""empty message

Revision ID: d385ca6f7ee2
Revises: f24967f24ead
Create Date: 2018-03-15 16:38:49.174380

"""

# revision identifiers, used by Alembic.
revision = 'd385ca6f7ee2'
down_revision = 'f24967f24ead'

from alembic import op
import sqlalchemy as sa


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_table('locks')
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.create_table('locks',
    sa.Column('id', sa.INTEGER(), nullable=False),
    sa.Column('task', sa.INTEGER(), autoincrement=False, nullable=False),
    sa.Column('what', sa.TEXT(), autoincrement=False, nullable=True),
    sa.ForeignKeyConstraint(['task'], ['task.id'], name='locks_task_fkey'),
    sa.PrimaryKeyConstraint('id', name='locks_pkey')
    )
    # ### end Alembic commands ###
