"""Add label_property_selector to event_types

Revision ID: d289021770a8
Revises: c4a698f55b85
Create Date: 2025-11-24 09:43:10.849667

"""

import sqlalchemy as sa
from alembic import op

# Polar Custom Imports

# revision identifiers, used by Alembic.
revision = "d289021770a8"
down_revision = "c4a698f55b85"
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(
        "event_types",
        sa.Column("label_property_selector", sa.String(length=256), nullable=True),
    )
    # ### end Alembic commands ###


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