"""empty message

Revision ID: b257c39bc0bb
Revises: dddf6f161be1
Create Date: 2018-09-30 15:22:12.671461

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = 'b257c39bc0bb'
down_revision = 'dddf6f161be1'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_constraint('skill_required_ibfk_1', 'skill_required', type_='foreignkey')
    op.create_foreign_key(None, 'skill_required', 'project', ['project_id'], ['id'], ondelete='cascade')
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_constraint(None, 'skill_required', type_='foreignkey')
    op.create_foreign_key('skill_required_ibfk_1', 'skill_required', 'project', ['project_id'], ['id'])
    # ### end Alembic commands ###
