"""empty message

Revision ID: 7332c5559b32
Revises: d385ca6f7ee2
Create Date: 2018-03-22 19:52:06.502216

"""

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

from alembic import op
import sqlalchemy as sa


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


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.create_table('demands',
    sa.Column('id', sa.INTEGER(), nullable=False),
    sa.Column('task', sa.INTEGER(), autoincrement=False, nullable=False),
    sa.Column('key', sa.VARCHAR(length=128), autoincrement=False, nullable=True),
    sa.Column('value', sa.TEXT(), autoincrement=False, nullable=True),
    sa.Column('value_type', sa.VARCHAR(length=32), autoincrement=False, nullable=True),
    sa.ForeignKeyConstraint(['task'], ['task.id'], name='demands_task_fkey'),
    sa.PrimaryKeyConstraint('id', name='demands_pkey')
    )
    # ### end Alembic commands ###
