"""empty message

Revision ID: e7d3b54f0fa0
Revises: 8d3967062a0a
Create Date: 2020-01-30 19:23:12.990777

"""
import sqlalchemy as sa
from alembic import op

# revision identifiers, used by Alembic.
revision = "e7d3b54f0fa0"
down_revision = "8d3967062a0a"
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column(
        "billing_cpa",
        sa.Column(
            "auto_daily_budget", sa.Boolean(), server_default="FALSE", nullable=False
        ),
    )
    op.add_column(
        "billing_cpm",
        sa.Column(
            "auto_daily_budget", sa.Boolean(), server_default="FALSE", nullable=False
        ),
    )
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_column("billing_cpm", "auto_daily_budget")
    op.drop_column("billing_cpa", "auto_daily_budget")
    # ### end Alembic commands ###
