"""empty message

Revision ID: e38935822969
Revises: 1b3e4f5f56bd
Create Date: 2016-06-14 22:03:34.368073

"""

# revision identifiers, used by Alembic.
revision = 'e38935822969'
down_revision = '1b3e4f5f56bd'

from alembic import op
import sqlalchemy as sa
import sqlalchemy_utils


def upgrade():
    ### commands auto generated by Alembic - please adjust! ###
    op.drop_constraint(u'sponsors_sponsor_type_id_fkey', 'sponsors', type_='foreignkey')
    op.create_foreign_key(None, 'sponsors', 'sponsor_type', ['sponsor_type_id'], ['id'], ondelete='CASCADE')
    ### end Alembic commands ###


def downgrade():
    ### commands auto generated by Alembic - please adjust! ###
    op.drop_constraint(None, 'sponsors', type_='foreignkey')
    op.create_foreign_key(u'sponsors_sponsor_type_id_fkey', 'sponsors', 'sponsor_type', ['sponsor_type_id'], ['id'])
    ### end Alembic commands ###
