"""add invitation_token_expires_at to customer_seats

Revision ID: 4ca9ae9d2dba
Revises: 5ab7f025ad1d
Create Date: 2025-10-02 16:18:33.025021

"""

import sqlalchemy as sa
from alembic import op

# Polar Custom Imports

# revision identifiers, used by Alembic.
revision = "4ca9ae9d2dba"
down_revision = "5ab7f025ad1d"
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(
        "customer_seats",
        sa.Column(
            "invitation_token_expires_at", sa.TIMESTAMP(timezone=True), nullable=True
        ),
    )
    # ### end Alembic commands ###


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