"""pins.variants — which variation a note was left on

Revision ID: f7d2b09e5a13
Revises: e40a7c92b1d8
Create Date: 2026-09-02

A pin is a point on a DESIGN, and when a toggle changes the design the point can
mean something different: "make this bigger" against the hexagon header is not
the same remark as against the plain one.
"""
from typing import Sequence, Union

import sqlalchemy as sa
from alembic import op

revision: str = 'f7d2b09e5a13'
down_revision: Union[str, Sequence[str], None] = 'e40a7c92b1d8'
branch_labels: Union[str, Sequence[str], None] = None
depends_on: Union[str, Sequence[str], None] = None


def upgrade() -> None:
    op.add_column('pins', sa.Column('variants', sa.JSON(), nullable=True))


def downgrade() -> None:
    op.drop_column('pins', 'variants')
