"""Add Order.platform_fee_currency

Revision ID: 90920e7fdee4
Revises: 2132c69f413b
Create Date: 2025-11-26 13:44:29.639268

"""

import sqlalchemy as sa
from alembic import op

# Polar Custom Imports

# revision identifiers, used by Alembic.
revision = "90920e7fdee4"
down_revision = "2132c69f413b"
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("platform_fee_currency", sa.String(length=3), nullable=True)
    )
    # ### end Alembic commands ###


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