/* RAIET v1.23 — simple READY CHECK foundation. Run once after 006_lobby_foundation.sql. */
ALTER TABLE lobbies
    ADD COLUMN ready_check_started_at DATETIME NULL AFTER status,
    ADD KEY idx_lobbies_ready_check (status, ready_check_started_at);

ALTER TABLE lobby_members
    ADD COLUMN ready_at DATETIME NULL AFTER role,
    ADD KEY idx_lobby_members_ready (lobby_id, ready_at);
