"""empty message

Revision ID: 00d1282a6f9b
Revises: 34aa0c0ef507
Create Date: 2019-09-24 20:42:44.418451

"""
import sqlalchemy as sa
from alembic import op

# revision identifiers, used by Alembic.
revision = "00d1282a6f9b"
down_revision = "34aa0c0ef507"
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column(
        "tasks",
        sa.Column(
            "status",
            sa.Enum(
                "accepted_by_normalizer",
                "normalized",
                "accepted_by_charger",
                "charger_received_context",
                "charger_completed_calculation",
                "charger_notified_billing",
                "charger_sent_charged_data",
                "charged",
                name="taskstatus",
            ),
            nullable=True,
        ),
    )
    # ### end Alembic commands ###


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