-- Table: driver_online
-- Tracks which drivers are currently online with their active vehicle and service type

CREATE TABLE `driver_online` (
  `driver_id` int UNSIGNED NOT NULL,
  `driver_vehicle_id` int UNSIGNED DEFAULT NULL,
  `segment_id` int UNSIGNED NOT NULL,
  `service_type_id` int UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Primary key and indexes would be added via ALTER TABLE statements
