-- =============================================================
-- V023: Make legacy Telegram columns nullable for multi-platform
-- =============================================================
-- Scope: Allow Discord (and future platforms) to create players
-- and game_groups without legacy telegram_* values.
-- Existing Telegram data was backfilled in V016.
-- =============================================================

ALTER TABLE game_groups
    ALTER COLUMN telegram_chat_id DROP NOT NULL,
    ALTER COLUMN gm_telegram_id DROP NOT NULL;

ALTER TABLE players
    ALTER COLUMN telegram_id DROP NOT NULL;
