-- 006_drop_host.sql — remove host_id and host_name from race tables. -- -- Races no longer carry a host (driver) reference. A race is owned by a -- physical track; the "host" concept is removed from the public API and -- from lobby.RaceMeta. Drivers participate as a flat list of driver_ids. ALTER TABLE finished_races DROP COLUMN IF EXISTS host_id; ALTER TABLE finished_races DROP COLUMN IF EXISTS host_name; DROP INDEX IF EXISTS finished_races_host_idx; ALTER TABLE race_plans DROP COLUMN IF EXISTS host_id; ALTER TABLE race_plans DROP COLUMN IF EXISTS host_name;