Update: 2026-06-22 00:31:28
This commit is contained in:
@@ -1925,3 +1925,20 @@ CREATE TABLE IF NOT EXISTS `driver_destinations` (
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `idx_driver_date` (`driver_id`, `usage_date`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
|
||||
--
|
||||
-- Table structure for table `market_health_reports`
|
||||
--
|
||||
CREATE TABLE IF NOT EXISTS `market_health_reports` (
|
||||
`id` int NOT NULL AUTO_INCREMENT,
|
||||
`report_date` date NOT NULL,
|
||||
`country_code` varchar(5) NOT NULL,
|
||||
`average_pci` decimal(5,2) NOT NULL,
|
||||
`market_share_percent` decimal(5,2) NOT NULL,
|
||||
`total_anomalies` int NOT NULL DEFAULT 0,
|
||||
`total_surge_opportunities` int NOT NULL DEFAULT 0,
|
||||
`report_data_json` json DEFAULT NULL,
|
||||
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `idx_country_date` (`country_code`, `report_date`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
|
||||
Reference in New Issue
Block a user