-- NEO-29: per-player hotbar slot bindings (prototype, v1).
CREATE TABLE IF NOT EXISTS player_hotbar_loadout (
    player_id TEXT NOT NULL REFERENCES player_position(player_id) ON DELETE CASCADE,
    slot_index INTEGER NOT NULL,
    ability_id TEXT NOT NULL,
    updated_at TIMESTAMPTZ NOT NULL DEFAULT now(),
    PRIMARY KEY (player_id, slot_index)
);

COMMENT ON TABLE player_hotbar_loadout IS 'Persisted hotbar slot bindings per player (NEO-29).';
