"""empty message

Revision ID: e34866339f9f
Revises: 82030ea13a6e
Create Date: 2020-06-04 13:06:48.595210

"""
import sqlalchemy as sa
from alembic import op

# revision identifiers, used by Alembic.
revision = "e34866339f9f"
down_revision = "82030ea13a6e"
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column(
        "clients", sa.Column("partner_agency_id", sa.BigInteger(), nullable=True)
    )
    op.create_index(
        op.f("ix_clients_clients_partner_agency_id"),
        "clients",
        ["partner_agency_id"],
        unique=False,
    )
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_index(op.f("ix_clients_clients_partner_agency_id"), table_name="clients")
    op.drop_column("clients", "partner_agency_id")
    # ### end Alembic commands ###
