"""empty message

Revision ID: 1e529bad1e38
Revises: 3364d1466fac
Create Date: 2015-05-20 17:42:07.580213

"""

# revision identifiers, used by Alembic.
revision = '1e529bad1e38'
down_revision = '3364d1466fac'

from alembic import op
import sqlalchemy as sa


def upgrade():
    ### commands auto generated by Alembic - please adjust! ###
    op.create_foreign_key(None, 'distributions', 'channels', ['channel_id'], ['id'])
    ### end Alembic commands ###


def downgrade():
    ### commands auto generated by Alembic - please adjust! ###
    op.drop_constraint(None, 'distributions', type_='foreignkey')
    ### end Alembic commands ###

Fix FK issue in distributions table for alembic migrations
Fix FK issue in distributions table for alembic migrations

Squashed commit of the following:

commit b8cf7592d73981236df528f964c20d80f8498cea
Author: Olivier Yiptong <olivier@olivieryiptong.com>
Date:   Wed May 20 17:43:05 2015 -0400

    fix FK issue in distributions table

Closes #67
