"""Add Checkout.embed_origin

Revision ID: abf0500d13b7
Revises: 3bd3e1bf77fb
Create Date: 2024-10-23 15:40:53.588075

"""

import sqlalchemy as sa
from alembic import op

# Polar Custom Imports

# revision identifiers, used by Alembic.
revision = "abf0500d13b7"
down_revision = "3bd3e1bf77fb"
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("embed_origin", sa.String(), nullable=True))
    # ### end Alembic commands ###


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