"""empty message

Revision ID: 5106a2b36726
Revises: 49c68df13fca
Create Date: 2020-01-22 19:52:13.458654

"""
import sqlalchemy as sa
from alembic import op

# revision identifiers, used by Alembic.
revision = "5106a2b36726"
down_revision = "49c68df13fca"
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.alter_column("orders", "client_id", existing_type=sa.BIGINT(), nullable=True)
    op.alter_column("orders", "contract_id", existing_type=sa.BIGINT(), nullable=True)
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.alter_column("orders", "contract_id", existing_type=sa.BIGINT(), nullable=False)
    op.alter_column("orders", "client_id", existing_type=sa.BIGINT(), nullable=False)
    # ### end Alembic commands ###
