"""add description_translations to platforms

Revision ID: tenancy_004
Revises: billing_002
Create Date: 2026-03-04
"""

import sqlalchemy as sa

from alembic import op

revision = "tenancy_004"
down_revision = "billing_002"
branch_labels = None
depends_on = None


def upgrade() -> None:
    op.add_column(
        "platforms",
        sa.Column(
            "description_translations",
            sa.JSON(),
            nullable=True,
            comment="Language-keyed description dict for multi-language support",
        ),
    )


def downgrade() -> None:
    op.drop_column("platforms", "description_translations")
