"""Add Checkout.allow_trial

Revision ID: c211706ed99c
Revises: 8511b8b03a3b
Create Date: 2025-11-11 10:47:03.034485

"""

import sqlalchemy as sa
from alembic import op

# Polar Custom Imports

# revision identifiers, used by Alembic.
revision = "c211706ed99c"
down_revision = "8511b8b03a3b"
branch_labels: tuple[str] | None = None
depends_on: tuple[str] | None = None


def upgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column("checkouts", sa.Column("allow_trial", sa.Boolean(), nullable=True))
    # ### end Alembic commands ###


def downgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_column("checkouts", "allow_trial")
    # ### end Alembic commands ###
