"""Remove ProductPrice.included_units

Revision ID: 0646123f765f
Revises: 521379c7f641
Create Date: 2025-04-01 13:25:24.740839

"""

import sqlalchemy as sa
from alembic import op

# Polar Custom Imports

# revision identifiers, used by Alembic.
revision = "0646123f765f"
down_revision = "521379c7f641"
branch_labels: tuple[str] | None = None
depends_on: tuple[str] | None = None


def upgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_column("product_prices", "included_units")
    # ### end Alembic commands ###


def downgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column(
        "product_prices",
        sa.Column("included_units", sa.INTEGER(), autoincrement=False, nullable=True),
    )
    # ### end Alembic commands ###
