"""m4 estimates and budget

Revision ID: 09f0fefd5d6a
Revises: b0dc582ec93e
Create Date: 2026-09-19 20:52:39.117782

"""
from collections.abc import Sequence

import sqlalchemy as sa

from alembic import op

# revision identifiers, used by Alembic.
revision: str = '09f0fefd5d6a'
down_revision: str | Sequence[str] | None = 'b0dc582ec93e'
branch_labels: str | Sequence[str] | None = None
depends_on: str | Sequence[str] | None = None


def upgrade() -> None:
    """Upgrade schema."""
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column('tasks', sa.Column('estimated_minutes', sa.Integer(), nullable=True))
    op.add_column('tasks', sa.Column('actual_minutes', sa.Integer(), nullable=True))
    op.add_column('tasks', sa.Column('budget_money', sa.Integer(), nullable=True))
    op.add_column('tasks', sa.Column('cost_estimate_money', sa.Integer(), nullable=True))
    # ### end Alembic commands ###


def downgrade() -> None:
    """Downgrade schema."""
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_column('tasks', 'cost_estimate_money')
    op.drop_column('tasks', 'budget_money')
    op.drop_column('tasks', 'actual_minutes')
    op.drop_column('tasks', 'estimated_minutes')
    # ### end Alembic commands ###
