"""

Revision ID: 7c2e78148fc7
Revises: a7c43f3fbc76
Create Date: 2024-08-21 17:23:56.952618

"""
from alembic import op
import sqlalchemy as sa
import sqlalchemy_utils


# revision identifiers, used by Alembic.
revision = '7c2e78148fc7'
down_revision = 'a7c43f3fbc76'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    with op.batch_alter_table('task', schema=None) as batch_op:
        batch_op.add_column(sa.Column('count', sa.Integer(), nullable=True))
        batch_op.add_column(sa.Column('wip_date', sa.DateTime(), nullable=True))
        batch_op.add_column(sa.Column('mandays_count', sa.Integer(), nullable=True))
        batch_op.add_column(sa.Column('retake_date', sa.DateTime(), nullable=True))
        batch_op.add_column(sa.Column('awf_date', sa.DateTime(), nullable=True))
        batch_op.add_column(sa.Column('app_date', sa.DateTime(), nullable=True))

    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    with op.batch_alter_table('task', schema=None) as batch_op:
        batch_op.drop_column('app_date')
        batch_op.drop_column('awf_date')
        batch_op.drop_column('retake_date')
        batch_op.drop_column('mandays_count')
        batch_op.drop_column('wip_date')
        batch_op.drop_column('count')

    # ### end Alembic commands ###
