Update: 2026-06-22 00:31:28

This commit is contained in:
Hamza-Ayed
2026-06-22 00:31:29 +03:00
parent e73be65a72
commit efe26c95be
19 changed files with 2635 additions and 32 deletions

View File

@@ -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;