Update: 2026-07-02 15:35:12
This commit is contained in:
@@ -1450,6 +1450,7 @@ CREATE TABLE `ride` (
|
||||
`time` time NOT NULL,
|
||||
`endtime` time NOT NULL,
|
||||
`price` decimal(10,2) NOT NULL DEFAULT '0.00',
|
||||
`ai_negotiated_bonus` double DEFAULT '0',
|
||||
`passenger_id` varchar(111) NOT NULL,
|
||||
`driver_id` varchar(111) NOT NULL,
|
||||
`status` varchar(200) NOT NULL DEFAULT 'nothing',
|
||||
@@ -2051,3 +2052,20 @@ VALUES
|
||||
('Mall of Egypt', 29.9705, 30.9856, 2000, 9, 'EG'),
|
||||
('Cairo Opera House', 30.0427, 31.2238, 1000, 7, 'EG'),
|
||||
('Al-Azhar Mosque', 30.0457, 31.2627, 1000, 6, 'EG');
|
||||
|
||||
--
|
||||
-- Table structure for table `driver_streaks`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `driver_streaks`;
|
||||
CREATE TABLE `driver_streaks` (
|
||||
`id` int NOT NULL AUTO_INCREMENT,
|
||||
`driver_id` varchar(255) NOT NULL,
|
||||
`current_streak` int DEFAULT 0,
|
||||
`best_streak` int DEFAULT 0,
|
||||
`zero_commission_until` datetime DEFAULT NULL,
|
||||
`last_updated` timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `driver_id` (`driver_id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user