"""walkthrough_steps.modal: a point said in a centred card, with no highlight

Revision ID: e6a8b0c2d4f6
Revises: d5f7a9c1e3b6
Create Date: 2026-09-07

A walkthrough's first point is often a welcome: what this is, how to leave
comments, what to look at and what to ignore. Said in the side panel with a
highlight on the header it reads as a point about the header. Said in a card
in the middle of the page, over the dimmed design, it reads as what it is.
Off for every existing point.
"""
from typing import Sequence, Union

import sqlalchemy as sa
from alembic import op

revision: str = 'e6a8b0c2d4f6'
down_revision: Union[str, Sequence[str], None] = 'd5f7a9c1e3b6'
branch_labels: Union[str, Sequence[str], None] = None
depends_on: Union[str, Sequence[str], None] = None


def upgrade() -> None:
    op.add_column("walkthrough_steps",
                  sa.Column("modal", sa.Boolean(), nullable=False,
                            server_default=sa.false()))


def downgrade() -> None:
    op.drop_column("walkthrough_steps", "modal")
