Mechanical, whole-tree `ruff format` pass — no behaviour change. Recorded in .git-blame-ignore-revs (next commit) so git blame skips it.
25 lines
620 B
Python
25 lines
620 B
Python
"""channels.keywords: creator keyword tags from brandingSettings (About tab)
|
|
|
|
Revision ID: 0055_channel_keywords
|
|
Revises: 0054_audit_log
|
|
Create Date: 2026-07-12
|
|
"""
|
|
|
|
from typing import Sequence, Union
|
|
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
revision: str = "0055_channel_keywords"
|
|
down_revision: Union[str, None] = "0054_audit_log"
|
|
branch_labels: Union[str, Sequence[str], None] = None
|
|
depends_on: Union[str, Sequence[str], None] = None
|
|
|
|
|
|
def upgrade() -> None:
|
|
op.add_column("channels", sa.Column("keywords", sa.Text(), nullable=True))
|
|
|
|
|
|
def downgrade() -> None:
|
|
op.drop_column("channels", "keywords")
|