"""add last_paid_date to bills

Revision ID: bca0bdb15d6e
Revises: 472c5233138e
Create Date: 2026-05-29 06:07:36.807290

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = 'bca0bdb15d6e'
down_revision = '472c5233138e'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    with op.batch_alter_table('bills', schema=None) as batch_op:
        batch_op.add_column(sa.Column('last_paid_date', sa.Text(), nullable=True))

    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    with op.batch_alter_table('bills', schema=None) as batch_op:
        batch_op.drop_column('last_paid_date')

    # ### end Alembic commands ###
