"""Add Checkout.success_url

Revision ID: 3962174f6753
Revises: e4473617a8e9
Create Date: 2024-10-04 09:59:37.586673

"""

import sqlalchemy as sa
from alembic import op

# Polar Custom Imports

# revision identifiers, used by Alembic.
revision = "3962174f6753"
down_revision = "e4473617a8e9"
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("success_url", sa.String(), nullable=True))
    # ### end Alembic commands ###


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