"""Add skipped field to webhook_events

Revision ID: 2dfff693f142
Revises: c211706ed99c
Create Date: 2025-11-13 13:13:54.938302

"""

import sqlalchemy as sa
from alembic import op

# Polar Custom Imports

# revision identifiers, used by Alembic.
revision = "2dfff693f142"
down_revision = "c211706ed99c"
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(
        "webhook_events",
        sa.Column("skipped", sa.Boolean(), nullable=False, server_default="false"),
    )
    # ### end Alembic commands ###


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