"""Add refunds_blocked_at

Revision ID: 7317838df672
Revises: 90920e7fdee4
Create Date: 2025-11-27 11:54:18.340386

"""

import sqlalchemy as sa
from alembic import op

# Polar Custom Imports

# revision identifiers, used by Alembic.
revision = "7317838df672"
down_revision = "90920e7fdee4"
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(
        "orders",
        sa.Column("refunds_blocked_at", sa.TIMESTAMP(timezone=True), nullable=True),
    )
    # ### end Alembic commands ###


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