"""add ai_onboarding_completed_at to organization

Revision ID: 1b73becdc178
Revises: ba238afd79a5
Create Date: 2025-12-08 16:09:38.036390

"""

import sqlalchemy as sa
from alembic import op

# Polar Custom Imports

# revision identifiers, used by Alembic.
revision = "1b73becdc178"
down_revision = "ba238afd79a5"
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(
        "organizations",
        sa.Column(
            "ai_onboarding_completed_at", sa.TIMESTAMP(timezone=True), nullable=True
        ),
    )
    # ### end Alembic commands ###


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