--
-- Host: localhost    Database: go_glide
-- ------------------------------------------------------


--
-- Table structure for table `adonis_schema`
--

CREATE TABLE `adonis_schema` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `batch` int NOT NULL,
  `migration_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=29 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `adonis_schema`
--

INSERT INTO `adonis_schema` VALUES (1,'database/migrations/1707383527659_create_user_groups_table',1,'2025-03-21 08:04:38'),(2,'database/migrations/1707383554411_create_users_table',1,'2025-03-21 08:04:39'),(3,'database/migrations/1707386682353_create_user_api_tokens_table',1,'2025-03-21 08:04:39'),(4,'database/migrations/1707386724520_create_user_reset_passwords_table',1,'2025-03-21 08:04:39'),(5,'database/migrations/1707386764916_create_media_table',1,'2025-03-21 08:04:39'),(6,'database/migrations/1707386911174_create_notifications_table',1,'2025-03-21 08:04:39'),(7,'database/migrations/1707386921249_create_notification_settings_table',1,'2025-03-21 08:04:40'),(8,'database/migrations/1707387148824_create_user_device_tokens_table',1,'2025-03-21 08:04:40'),(9,'database/migrations/1715749860153_create_cms_modules_table',1,'2025-03-21 08:04:40'),(10,'database/migrations/1715749948547_create_application_settings_table',1,'2025-03-21 08:04:40'),(11,'database/migrations/1715750022416_create_content_managements_table',1,'2025-03-21 08:04:40'),(12,'database/migrations/1715937724497_create_faqs_table',1,'2025-03-21 08:04:40'),(13,'database/migrations/1740723861013_create_vehicle_categories_table',1,'2025-03-21 08:04:40'),(14,'database/migrations/1740724938845_create_vehicle_colors_table',1,'2025-03-21 08:04:40'),(15,'database/migrations/1740724938846_create_vehicle_makes_table',1,'2025-03-21 08:04:40'),(16,'database/migrations/1740724938847_create_vehicle_models_table',1,'2025-03-21 08:04:41'),(17,'database/migrations/1740724938848_create_user_vehicles_table',1,'2025-03-21 08:04:41'),(18,'database/migrations/1741001457628_create_create_bookings_table',1,'2025-03-21 08:04:42'),(19,'database/migrations/1741001457629_create_reasons_table',1,'2025-03-21 08:04:42'),(20,'database/migrations/1741001457630_create_disputes_table',1,'2025-03-21 08:04:43'),(21,'database/migrations/1741001504747_create_create_cancellations_table',1,'2025-03-21 08:04:43'),(22,'database/migrations/1741074783862_create_reviews_table',1,'2025-03-21 08:04:43'),(23,'database/migrations/1741084705892_create_user_drivering_details_table',1,'2025-03-21 08:04:44'),(24,'database/migrations/1741091957189_create_contactus_table',1,'2025-03-21 08:04:44'),(25,'database/migrations/1741092595829_create_chat_rooms_table',1,'2025-03-21 08:04:44'),(26,'database/migrations/1741092649802_create_chat_messages_table',1,'2025-03-21 08:04:45'),(27,'database/migrations/1741092661357_create_chat_message_statuses_table',1,'2025-03-21 08:04:45'),(28,'database/migrations/1741092682329_create_chat_room_users_table',1,'2025-03-21 08:04:46');

--
-- Table structure for table `adonis_schema_versions`
--

CREATE TABLE `adonis_schema_versions` (
  `version` int unsigned NOT NULL,
  PRIMARY KEY (`version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `adonis_schema_versions`
--

INSERT INTO `adonis_schema_versions` VALUES (2);

--
-- Table structure for table `application_settings`
--

CREATE TABLE `application_settings` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `identifier` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `meta_key` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `value` text COLLATE utf8mb4_unicode_ci,
  `is_file` enum('1','0') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `application_settings_identifier_index` (`identifier`),
  KEY `application_settings_meta_key_index` (`meta_key`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `application_settings`
--

INSERT INTO `application_settings` VALUES (1,'application_setting','favicon','/images/favicon.png','1','2025-03-21 03:04:46',NULL,NULL),(2,'application_setting','logo','/images/logo.jpg','1','2025-03-21 03:04:46',NULL,NULL),(3,'application_setting','application_name','RetroCube','0','2025-03-21 03:04:46',NULL,NULL);

--
-- Table structure for table `bookings`
--

CREATE TABLE `bookings` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `slug` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `vehicle_category_id` int unsigned DEFAULT NULL,
  `created_by` int unsigned DEFAULT NULL,
  `driver_id` int unsigned DEFAULT NULL,
  `stripe_charge_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `fare` decimal(11,2) DEFAULT '0.00',
  `waiting_charge` decimal(11,2) DEFAULT '0.00',
  `discount` decimal(11,2) DEFAULT '0.00',
  `pickup_location` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `pickup_latitude` decimal(10,6) NOT NULL,
  `pickup_longitude` decimal(10,6) NOT NULL,
  `drop_off_location` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `drop_off_latitude` decimal(10,6) NOT NULL,
  `drop_off_longitude` decimal(10,6) NOT NULL,
  `booking_arrived_at` timestamp NULL DEFAULT NULL,
  `booking_started_at` timestamp NULL DEFAULT NULL,
  `booking_completed_at` timestamp NULL DEFAULT NULL,
  `booking_note` text COLLATE utf8mb4_unicode_ci,
  `booking_type` enum('instant','scheduled') COLLATE utf8mb4_unicode_ci NOT NULL,
  `is_user_review` enum('0','1') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `is_driver_review` enum('0','1') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `scheduled_time` timestamp NULL DEFAULT NULL,
  `status` enum('initiate','accepted','rejected','arrived','started','completed','cancelled') COLLATE utf8mb4_unicode_ci DEFAULT 'initiate',
  `payment_status` enum('pending','paid','failed') COLLATE utf8mb4_unicode_ci DEFAULT 'pending',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `bookings_slug_unique` (`slug`),
  KEY `bookings_driver_id_foreign` (`driver_id`),
  KEY `bookings_created_by_index` (`created_by`),
  KEY `bookings_vehicle_category_id_index` (`vehicle_category_id`),
  KEY `bookings_status_index` (`status`),
  KEY `bookings_payment_status_index` (`payment_status`),
  KEY `bookings_is_user_review_index` (`is_user_review`),
  KEY `bookings_is_driver_review_index` (`is_driver_review`),
  KEY `bookings_booking_type_index` (`booking_type`),
  KEY `bookings_status_payment_status_index` (`status`,`payment_status`),
  CONSTRAINT `bookings_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  CONSTRAINT `bookings_driver_id_foreign` FOREIGN KEY (`driver_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  CONSTRAINT `bookings_vehicle_category_id_foreign` FOREIGN KEY (`vehicle_category_id`) REFERENCES `vehicle_categories` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `bookings`
--


--
-- Table structure for table `cancellations`
--

CREATE TABLE `cancellations` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `slug` varchar(150) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `reason` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `cancellations_slug_unique` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cancellations`
--


--
-- Table structure for table `chat_message_status`
--

CREATE TABLE `chat_message_status` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int unsigned DEFAULT NULL,
  `chat_room_id` int unsigned DEFAULT NULL,
  `chat_message_id` int unsigned DEFAULT NULL,
  `is_read` int DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `chat_message_status_user_id_index` (`user_id`),
  KEY `chat_message_status_chat_room_id_index` (`chat_room_id`),
  KEY `chat_message_status_chat_message_id_index` (`chat_message_id`),
  CONSTRAINT `chat_message_status_chat_message_id_foreign` FOREIGN KEY (`chat_message_id`) REFERENCES `chat_messages` (`id`) ON DELETE CASCADE,
  CONSTRAINT `chat_message_status_chat_room_id_foreign` FOREIGN KEY (`chat_room_id`) REFERENCES `chat_rooms` (`id`) ON DELETE CASCADE,
  CONSTRAINT `chat_message_status_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `chat_message_status`
--


--
-- Table structure for table `chat_messages`
--

CREATE TABLE `chat_messages` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `slug` varchar(150) COLLATE utf8mb4_unicode_ci NOT NULL,
  `user_id` int unsigned DEFAULT NULL,
  `chat_room_id` int unsigned DEFAULT NULL,
  `message_type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT 'text',
  `message` text COLLATE utf8mb4_unicode_ci,
  `file_url` text COLLATE utf8mb4_unicode_ci,
  `file_data` text COLLATE utf8mb4_unicode_ci,
  `custom_data` text COLLATE utf8mb4_unicode_ci,
  `ip_address` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_anonymous` int DEFAULT '0',
  `status` int DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `chat_messages_slug_unique` (`slug`),
  KEY `chat_messages_slug_index` (`slug`),
  KEY `chat_messages_user_id_index` (`user_id`),
  KEY `chat_messages_chat_room_id_index` (`chat_room_id`),
  CONSTRAINT `chat_messages_chat_room_id_foreign` FOREIGN KEY (`chat_room_id`) REFERENCES `chat_rooms` (`id`) ON DELETE CASCADE,
  CONSTRAINT `chat_messages_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `chat_messages`
--


--
-- Table structure for table `chat_room_users`
--

CREATE TABLE `chat_room_users` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `chat_room_id` int unsigned DEFAULT NULL,
  `user_id` int unsigned DEFAULT NULL,
  `ref_module_type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT 'bookings',
  `ref_module_id` int DEFAULT '0',
  `last_chat_message_id` int DEFAULT '0',
  `last_message_timestamp` datetime DEFAULT NULL,
  `unread_message_counts` int DEFAULT '0',
  `is_anonymous` int DEFAULT '0',
  `status` int DEFAULT '1',
  `is_owner` int DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `chat_room_users_chat_room_id_index` (`chat_room_id`),
  KEY `chat_room_users_user_id_index` (`user_id`),
  CONSTRAINT `chat_room_users_chat_room_id_foreign` FOREIGN KEY (`chat_room_id`) REFERENCES `chat_rooms` (`id`) ON DELETE CASCADE,
  CONSTRAINT `chat_room_users_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `chat_room_users`
--


--
-- Table structure for table `chat_rooms`
--

CREATE TABLE `chat_rooms` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `slug` varchar(150) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_by` int unsigned DEFAULT NULL,
  `ref_module_type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT 'bookings',
  `ref_module_id` int DEFAULT '0',
  `title` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT 'comments',
  `image_url` text COLLATE utf8mb4_unicode_ci,
  `description` text COLLATE utf8mb4_unicode_ci,
  `type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `member_limit` int DEFAULT '1',
  `is_anonymous` int DEFAULT '0',
  `status` int DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `chat_rooms_slug_unique` (`slug`),
  KEY `chat_rooms_slug_index` (`slug`),
  KEY `chat_rooms_created_by_index` (`created_by`),
  KEY `chat_rooms_ref_module_id_index` (`ref_module_id`),
  CONSTRAINT `chat_rooms_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `chat_rooms`
--


--
-- Table structure for table `cms_modules`
--

CREATE TABLE `cms_modules` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `parent_id` int DEFAULT '0',
  `name` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `route_name` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `icon` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` enum('1','0') COLLATE utf8mb4_unicode_ci DEFAULT '1',
  `sort_order` decimal(8,2) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cms_modules`
--

INSERT INTO `cms_modules` VALUES (1,0,'Cms Roles Management','cms-roles-management.index','fa fa-key','0',1.00,'2025-03-21 03:04:46',NULL,NULL),(2,0,'Cms Users Management','cms-users-management.index','fa fa-users','0',2.00,'2025-03-21 03:04:46',NULL,NULL),(3,0,'Application Setting','admin.application-setting','fa fa-cog','1',3.00,'2025-03-21 03:04:46',NULL,NULL),(4,0,'Users Management','app_users.index','fa fa-users','1',4.00,'2025-03-21 03:04:46',NULL,NULL),(5,0,'Content Management','content_management.index','fa fa-tasks','1',5.00,'2025-03-21 03:04:46',NULL,NULL),(6,0,'FAQ\'s','faq.index','fa fa-question-circle-o','1',6.00,'2025-03-21 03:04:46',NULL,NULL);

--
-- Table structure for table `contact_us`
--

CREATE TABLE `contact_us` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `slug` varchar(150) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `user_id` int unsigned DEFAULT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `message` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `contact_us_slug_unique` (`slug`),
  KEY `contact_us_slug_index` (`slug`),
  KEY `contact_us_user_id_index` (`user_id`),
  KEY `contact_us_email_index` (`email`),
  CONSTRAINT `contact_us_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `contact_us`
--


--
-- Table structure for table `content_managements`
--

CREATE TABLE `content_managements` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `title` varchar(150) COLLATE utf8mb4_unicode_ci NOT NULL,
  `slug` varchar(150) COLLATE utf8mb4_unicode_ci NOT NULL,
  `content` text COLLATE utf8mb4_unicode_ci,
  `status` enum('1','0') COLLATE utf8mb4_unicode_ci DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `content_managements_slug_unique` (`slug`),
  KEY `content_managements_slug_index` (`slug`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `content_managements`
--

INSERT INTO `content_managements` VALUES (1,'About US','about-us','Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.','1','2025-03-21 03:04:46',NULL,NULL),(2,'Privacy Policy','privacy-policy','Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.','1','2025-03-21 03:04:46',NULL,NULL),(3,'Terms & Conditions','terms-conditions','Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.','1','2025-03-21 03:04:46',NULL,NULL);

--
-- Table structure for table `disputes`
--

CREATE TABLE `disputes` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `slug` varchar(150) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `booking_id` int unsigned NOT NULL,
  `user_id` int unsigned NOT NULL,
  `reason_id` int unsigned DEFAULT NULL,
  `dispute_reason` text COLLATE utf8mb4_unicode_ci,
  `status` enum('open','resolved','closed') COLLATE utf8mb4_unicode_ci DEFAULT 'open',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `disputes_slug_unique` (`slug`),
  KEY `disputes_user_id_foreign` (`user_id`),
  KEY `disputes_booking_id_index` (`booking_id`),
  KEY `disputes_status_index` (`status`),
  KEY `disputes_reason_id_index` (`reason_id`),
  CONSTRAINT `disputes_booking_id_foreign` FOREIGN KEY (`booking_id`) REFERENCES `bookings` (`id`) ON DELETE CASCADE,
  CONSTRAINT `disputes_reason_id_foreign` FOREIGN KEY (`reason_id`) REFERENCES `reasons` (`id`) ON DELETE CASCADE,
  CONSTRAINT `disputes_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `disputes`
--


--
-- Table structure for table `faqs`
--

CREATE TABLE `faqs` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `slug` varchar(150) COLLATE utf8mb4_unicode_ci NOT NULL,
  `question` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `answer` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `faqs_slug_unique` (`slug`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `faqs`
--

INSERT INTO `faqs` VALUES (1,'20250321080447352-ffb37b9fd40a34a9','Why choose us?','Go Glide connects you with professional drivers in real time, ensuring you get a ride exactly when you need it. No more long waits or unexpected delays. Enjoy fast, reliable, and hassle-free taxi services, anytime, anywhere!','2025-03-21 03:04:47',NULL,NULL),(2,'20250321080447353-19c3a6dfaa8db52d','How do I book a ride with Go Glide?','To book a ride with Go Glide, simply open the app, enter your pickup and drop-off locations, choose the type of ride you prefer, and hit \'Book\'. A professional driver will be assigned to you instantly, and you\'ll be notified when they arrive.','2025-03-21 03:04:47',NULL,NULL),(3,'20250321080447353-ca90a5d24e94b69e','What types of vehicles are available on Go Glide?','Go Glide offers a variety of vehicle types to meet your needs. Whether you\'re looking for a quick ride in an economy car, a premium ride in a luxury vehicle, or even a larger ride for groups, we have you covered. You can select the vehicle type based on your preference during the booking process.','2025-03-21 03:04:47',NULL,NULL);

--
-- Table structure for table `media`
--

CREATE TABLE `media` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `module` varchar(150) COLLATE utf8mb4_unicode_ci NOT NULL,
  `module_id` bigint NOT NULL,
  `filename` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL,
  `original_name` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL,
  `file_url` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `file_url_blur` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `thumbnail_url` text COLLATE utf8mb4_unicode_ci,
  `mime_type` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `file_type` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `driver` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'local',
  `media_type` enum('public','private') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'public',
  `meta` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `media_module_module_id_index` (`module`,`module_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `media`
--


--
-- Table structure for table `notification_settings`
--

CREATE TABLE `notification_settings` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int unsigned DEFAULT NULL,
  `meta_key` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
  `meta_value` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `notification_settings_user_id_foreign` (`user_id`),
  CONSTRAINT `notification_settings_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `notification_settings`
--


--
-- Table structure for table `notifications`
--

CREATE TABLE `notifications` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `actor_id` int unsigned DEFAULT NULL,
  `target_id` int unsigned DEFAULT NULL,
  `module` varchar(150) COLLATE utf8mb4_unicode_ci NOT NULL,
  `module_id` bigint NOT NULL,
  `module_slug` varchar(150) COLLATE utf8mb4_unicode_ci NOT NULL,
  `reference_module` varchar(150) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `reference_module_id` bigint DEFAULT NULL,
  `reference_module_slug` varchar(150) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `title` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `is_read` enum('0','1') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `is_view` enum('0','1') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `notifications_actor_id_foreign` (`actor_id`),
  KEY `notifications_target_id_foreign` (`target_id`),
  CONSTRAINT `notifications_actor_id_foreign` FOREIGN KEY (`actor_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  CONSTRAINT `notifications_target_id_foreign` FOREIGN KEY (`target_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `notifications`
--


--
-- Table structure for table `reasons`
--

CREATE TABLE `reasons` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `slug` varchar(150) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `icon` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `reason` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` enum('active','inactive') COLLATE utf8mb4_unicode_ci DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `reasons_slug_unique` (`slug`),
  KEY `reasons_status_index` (`status`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `reasons`
--

INSERT INTO `reasons` VALUES (1,'20250321080447184-839874ceef01ea65',NULL,'Long Wait','active','2025-03-21 03:04:47',NULL,NULL),(2,'20250321080447184-d4024e9c367c712e',NULL,'I changed my mind','active','2025-03-21 03:04:47',NULL,NULL),(3,'20250321080447184-edd01116f95c517a',NULL,'Driver asked to cancel','active','2025-03-21 03:04:47',NULL,NULL),(4,'20250321080447185-fd51ac182ef01f1f',NULL,'Driver asked to extra pay','active','2025-03-21 03:04:47',NULL,NULL),(5,'20250321080447185-b1f6f6065abb3a30',NULL,'Driver rating','active','2025-03-21 03:04:47',NULL,NULL),(6,'20250321080447186-3e066beb9542c98a',NULL,'Unhappy with car','active','2025-03-21 03:04:47',NULL,NULL),(7,'20250321080447186-f6b2f198bb1521e1',NULL,'More','active','2025-03-21 03:04:47',NULL,NULL);

--
-- Table structure for table `user_driver_details`
--

CREATE TABLE `user_driver_details` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int unsigned DEFAULT NULL,
  `slug` varchar(150) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `city` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `state` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `country` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `zip` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `license_number` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `license_front_image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `license_back_image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `id_front_image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `id_back_image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `user_driver_details_slug_unique` (`slug`),
  KEY `user_driver_details_user_id_foreign` (`user_id`),
  KEY `user_driver_details_city_index` (`city`),
  KEY `user_driver_details_state_index` (`state`),
  KEY `user_driver_details_country_index` (`country`),
  KEY `user_driver_details_zip_index` (`zip`),
  CONSTRAINT `user_driver_details_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `user_driver_details`
--


--
-- Table structure for table `user_groups`
--

CREATE TABLE `user_groups` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `title` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
  `slug` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
  `is_super_admin` enum('1','0') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `user_groups_slug_unique` (`slug`),
  KEY `user_groups_title_index` (`title`),
  KEY `user_groups_slug_index` (`slug`),
  KEY `user_groups_is_super_admin_index` (`is_super_admin`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `user_groups`
--

INSERT INTO `user_groups` VALUES (1,'Super Admin','super_admin','1','2025-03-21 03:04:46',NULL,NULL),(2,'Admin','admin','0','2025-03-21 03:04:46',NULL,NULL),(3,'Driver','driver','0','2025-03-21 03:04:46',NULL,NULL),(4,'Passenger','passenger','0','2025-03-21 03:04:46',NULL,NULL);

--
-- Table structure for table `user_reviews`
--

CREATE TABLE `user_reviews` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `slug` varchar(150) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `booking_id` int unsigned NOT NULL,
  `created_by` int unsigned NOT NULL,
  `target_id` int unsigned NOT NULL,
  `rating` int unsigned NOT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `user_reviews_slug_unique` (`slug`),
  KEY `user_reviews_booking_id_index` (`booking_id`),
  KEY `user_reviews_created_by_index` (`created_by`),
  KEY `user_reviews_target_id_index` (`target_id`),
  KEY `user_reviews_rating_index` (`rating`),
  CONSTRAINT `user_reviews_booking_id_foreign` FOREIGN KEY (`booking_id`) REFERENCES `bookings` (`id`) ON DELETE CASCADE,
  CONSTRAINT `user_reviews_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  CONSTRAINT `user_reviews_target_id_foreign` FOREIGN KEY (`target_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  CONSTRAINT `user_reviews_chk_1` CHECK ((`rating` between 1 and 5))
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `user_reviews`
--


--
-- Table structure for table `user_vehicle_details`
--

CREATE TABLE `user_vehicle_details` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `slug` varchar(150) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `user_id` int unsigned DEFAULT NULL,
  `vehicle_category_id` int unsigned DEFAULT NULL,
  `vehicle_make_id` int unsigned DEFAULT NULL,
  `vehicle_model_id` int unsigned DEFAULT NULL,
  `vehicle_color_id` int unsigned DEFAULT NULL,
  `vehicle_version` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `vehicle_number` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `vehicle_seat_no` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '4',
  `transmission` enum('automatic','manual') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'automatic',
  `status` enum('active','inactive') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `user_vehicle_details_slug_unique` (`slug`),
  UNIQUE KEY `user_vehicle_details_vehicle_number_unique` (`vehicle_number`),
  KEY `user_vehicle_details_user_id_foreign` (`user_id`),
  KEY `user_vehicle_details_vehicle_category_id_foreign` (`vehicle_category_id`),
  KEY `user_vehicle_details_vehicle_make_id_foreign` (`vehicle_make_id`),
  KEY `user_vehicle_details_vehicle_model_id_foreign` (`vehicle_model_id`),
  KEY `user_vehicle_details_vehicle_color_id_foreign` (`vehicle_color_id`),
  CONSTRAINT `user_vehicle_details_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  CONSTRAINT `user_vehicle_details_vehicle_category_id_foreign` FOREIGN KEY (`vehicle_category_id`) REFERENCES `vehicle_categories` (`id`) ON DELETE CASCADE,
  CONSTRAINT `user_vehicle_details_vehicle_color_id_foreign` FOREIGN KEY (`vehicle_color_id`) REFERENCES `vehicle_colors` (`id`) ON DELETE CASCADE,
  CONSTRAINT `user_vehicle_details_vehicle_make_id_foreign` FOREIGN KEY (`vehicle_make_id`) REFERENCES `vehicle_makes` (`id`) ON DELETE CASCADE,
  CONSTRAINT `user_vehicle_details_vehicle_model_id_foreign` FOREIGN KEY (`vehicle_model_id`) REFERENCES `vehicle_models` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `user_vehicle_details`
--


--
-- Table structure for table `vehicle_categories`
--

CREATE TABLE `vehicle_categories` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `slug` varchar(150) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description` text COLLATE utf8mb4_unicode_ci,
  `status` enum('active','inactive') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `vehicle_categories_slug_unique` (`slug`),
  UNIQUE KEY `vehicle_categories_name_unique` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vehicle_categories`
--

INSERT INTO `vehicle_categories` VALUES (1,'20250321080447047-469880167007b7af','Standard','A standard-sized car, ideal for everyday use and city commuting','active','2025-03-21 03:04:47',NULL,NULL),(2,'20250321080447048-e1258c07f755e349','SUV','A versatile, larger vehicle suitable for off-road driving and long-distance travel','active','2025-03-21 03:04:47',NULL,NULL),(3,'20250321080447048-ee03c0437df8f870','Mini','A compact, space-efficient car designed for urban environments and easy parking','active','2025-03-21 03:04:47',NULL,NULL),(4,'20250321080447048-f845371194878617','Eco-Friendly','Vehicles designed with sustainability in mind, often electric or hybrid models','active','2025-03-21 03:04:47',NULL,NULL);

--
-- Table structure for table `vehicle_colors`
--

CREATE TABLE `vehicle_colors` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `slug` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `code_hash` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` enum('active','inactive') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `vehicle_colors_slug_unique` (`slug`)
) ENGINE=InnoDB AUTO_INCREMENT=31 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vehicle_colors`
--

INSERT INTO `vehicle_colors` VALUES (1,'20250321080447864-d3663afbfb661a97','Rapid Red','#9B111E','active','2025-03-21 03:04:47',NULL,NULL),(2,'20250321080447864-eff411a275f59358','Oxford White','#F0F0F0','active','2025-03-21 03:04:47',NULL,NULL),(3,'20250321080447864-bfce2e24cdac47f6','Carbonized Gray','#4B4E53','active','2025-03-21 03:04:47',NULL,NULL),(4,'20250321080447864-3556b77bc4b007df','Summit White','#F7F7F7','active','2025-03-21 03:04:47',NULL,NULL),(5,'20250321080447864-9ec004439fd58f91','Mosaic Black Metallic','#2D2926','active','2025-03-21 03:04:47',NULL,NULL),(6,'20250321080447865-f2eaf3e3a1937403','Red Hot','#F12B2A','active','2025-03-21 03:04:47',NULL,NULL),(7,'20250321080447865-1a08ab700ba7fa62','Super White','#F7F7F7','active','2025-03-21 03:04:47',NULL,NULL),(8,'20250321080447865-dc158015895437f7','Midnight Black Metallic','#1C1C1C','active','2025-03-21 03:04:47',NULL,NULL),(9,'20250321080447865-aab2de62892459be','Magnetic Gray Metallic','#4A4A4A','active','2025-03-21 03:04:47',NULL,NULL),(10,'20250321080447865-cb6ecc464c9c3713','Lunar Silver Metallic','#D1D3D4','active','2025-03-21 03:04:47',NULL,NULL),(11,'20250321080447865-ecd778f9f766d1af','Crystal Black Pearl','#2B2D2F','active','2025-03-21 03:04:47',NULL,NULL),(12,'20250321080447865-2da35dc603399b92','Modern Steel Metallic','#5B5E5A','active','2025-03-21 03:04:47',NULL,NULL),(13,'20250321080447866-7cb8aa72f990a4fb','Granite Crystal Metallic','#474A4B','active','2025-03-21 03:04:47',NULL,NULL),(14,'20250321080447866-a5185c2f54209307','Sting-Gray','#8E8F8A','active','2025-03-21 03:04:47',NULL,NULL),(15,'20250321080447866-133be67ae8d60c0d','Firecracker Red','#E02F28','active','2025-03-21 03:04:47',NULL,NULL),(16,'20250321080447866-38f3dc8e0cbf9d49','White Knuckle','#F7F7F7','active','2025-03-21 03:04:47',NULL,NULL),(17,'20250321080447866-bd14f608a86d256a','Go Mango','#F44336','active','2025-03-21 03:04:47',NULL,NULL),(18,'20250321080447866-2050b723b6842d94','Billet Silver Metallic','#A6A9B0','active','2025-03-21 03:04:47',NULL,NULL),(19,'20250321080447866-a21ffa698c2c4f62','Flame Red','#D32F2F','active','2025-03-21 03:04:47',NULL,NULL),(20,'20250321080447866-350919023e9f2192','Patriot Blue Pearl','#1C4F73','active','2025-03-21 03:04:47',NULL,NULL),(21,'20250321080447867-eb0e2879e4bf5a11','Bright White','#FFFFFF','active','2025-03-21 03:04:47',NULL,NULL),(22,'20250321080447867-aad2228d5d852e7d','Midnight Silver Metallic','#4B4E51','active','2025-03-21 03:04:47',NULL,NULL),(23,'20250321080447867-6688c885feb22523','Pearl White Multi-Coat','#F0F0F0','active','2025-03-21 03:04:47',NULL,NULL),(24,'20250321080447867-75389960dc62c698','Deep Blue Metallic','#005A72','active','2025-03-21 03:04:47',NULL,NULL),(25,'20250321080447867-575221623abeed2e','Gun Metallic','#4D4F53','active','2025-03-21 03:04:47',NULL,NULL),(26,'20250321080447867-e1d432347a272b73','Super Black','#1D1D1B','active','2025-03-21 03:04:47',NULL,NULL),(27,'20250321080447867-353712a7f9f306ac','Brilliant Silver','#8A8C8E','active','2025-03-21 03:04:47',NULL,NULL),(28,'20250321080447867-b7d55f0dc7b7e36c','Alpine White','#F1F1F1','active','2025-03-21 03:04:47',NULL,NULL),(29,'20250321080447867-bf40056892fff4a9','Jet Black','#000000','active','2025-03-21 03:04:47',NULL,NULL),(30,'20250321080447867-41202427ba356a3a','Phytonic Blue','#1D5D7D','active','2025-03-21 03:04:47',NULL,NULL);

--
-- Table structure for table `vehicle_makes`
--

CREATE TABLE `vehicle_makes` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `slug` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` enum('active','inactive') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `vehicle_makes_slug_unique` (`slug`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vehicle_makes`
--

INSERT INTO `vehicle_makes` VALUES (1,'20250321080447549-87e367fea1ac4266','Ford','active','2025-03-21 03:04:47',NULL,NULL),(2,'20250321080447550-e55c278a0d40f332','Chevrolet','active','2025-03-21 03:04:47',NULL,NULL),(3,'20250321080447550-47d7636137e952b6','Toyota','active','2025-03-21 03:04:47',NULL,NULL),(4,'20250321080447550-152bbb6fd25c197e','Honda','active','2025-03-21 03:04:47',NULL,NULL),(5,'20250321080447550-97be289eaf302140','Jeep','active','2025-03-21 03:04:47',NULL,NULL),(6,'20250321080447550-9cb845d27c0b3d55','Dodge','active','2025-03-21 03:04:47',NULL,NULL),(7,'20250321080447550-82dbe528d7ae3617','Ram','active','2025-03-21 03:04:47',NULL,NULL),(8,'20250321080447550-998c9b03c39bf9ff','Tesla','active','2025-03-21 03:04:47',NULL,NULL),(9,'20250321080447550-5ca19a5ecf02e16b','Nissan','active','2025-03-21 03:04:47',NULL,NULL),(10,'20250321080447550-7ff70be5d6eeb3ea','BMW','active','2025-03-21 03:04:47',NULL,NULL);

--
-- Table structure for table `vehicle_models`
--

CREATE TABLE `vehicle_models` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `slug` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `vehicle_make_id` int unsigned DEFAULT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` enum('active','inactive') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `vehicle_models_slug_unique` (`slug`),
  KEY `vehicle_models_vehicle_make_id_foreign` (`vehicle_make_id`),
  CONSTRAINT `vehicle_models_vehicle_make_id_foreign` FOREIGN KEY (`vehicle_make_id`) REFERENCES `vehicle_makes` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=31 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vehicle_models`
--

INSERT INTO `vehicle_models` VALUES (1,'20250321080447682-77a20543956e4d6f',1,'F-150','active','2025-03-21 03:04:47',NULL,NULL),(2,'20250321080447682-2843b801678d9e2b',1,'Mustang','active','2025-03-21 03:04:47',NULL,NULL),(3,'20250321080447682-c9ff00370022752f',1,'Explorer','active','2025-03-21 03:04:47',NULL,NULL),(4,'20250321080447683-3b228e02d8f05ccf',2,'Silverado 1500','active','2025-03-21 03:04:47',NULL,NULL),(5,'20250321080447683-7595dca170a064b7',2,'Equinox','active','2025-03-21 03:04:47',NULL,NULL),(6,'20250321080447683-34248523f7415124',2,'Malibu','active','2025-03-21 03:04:47',NULL,NULL),(7,'20250321080447683-461447295bc81621',3,'Camry','active','2025-03-21 03:04:47',NULL,NULL),(8,'20250321080447683-9144012e4be609c5',3,'Tacoma','active','2025-03-21 03:04:47',NULL,NULL),(9,'20250321080447683-08a0de052ea5e6bd',3,'RAV4','active','2025-03-21 03:04:47',NULL,NULL),(10,'20250321080447683-17d51c40432e170b',4,'Civic','active','2025-03-21 03:04:47',NULL,NULL),(11,'20250321080447683-05957f989105cb9b',4,'Accord','active','2025-03-21 03:04:47',NULL,NULL),(12,'20250321080447683-8d3c3a55ce8e00d0',4,'CR-V','active','2025-03-21 03:04:47',NULL,NULL),(13,'20250321080447683-c5ba9d9e28fa167c',5,'Grand Cherokee','active','2025-03-21 03:04:47',NULL,NULL),(14,'20250321080447683-1d853b035fc5d557',5,'Wrangler','active','2025-03-21 03:04:47',NULL,NULL),(15,'20250321080447684-c17f154b38433c28',5,'Cherokee','active','2025-03-21 03:04:47',NULL,NULL),(16,'20250321080447684-f261cf6364d81cf6',6,'Charger','active','2025-03-21 03:04:47',NULL,NULL),(17,'20250321080447684-ae128ef491e4043a',6,'Ram 1500','active','2025-03-21 03:04:47',NULL,NULL),(18,'20250321080447684-7e568646d6fd8a50',6,'Durango','active','2025-03-21 03:04:47',NULL,NULL),(19,'20250321080447684-96de4f447fc06672',7,'1500','active','2025-03-21 03:04:47',NULL,NULL),(20,'20250321080447684-4374a9649c0084ea',7,'2500','active','2025-03-21 03:04:47',NULL,NULL),(21,'20250321080447684-505d2835c5ad8dfb',7,'ProMaster','active','2025-03-21 03:04:47',NULL,NULL),(22,'20250321080447684-211282528f35cc61',8,'Model 3','active','2025-03-21 03:04:47',NULL,NULL),(23,'20250321080447684-a96d5934b6b20120',8,'Model S','active','2025-03-21 03:04:47',NULL,NULL),(24,'20250321080447684-2f25e28a63f8a337',8,'Model X','active','2025-03-21 03:04:47',NULL,NULL),(25,'20250321080447684-27fb7a983fe1a934',9,'Altima','active','2025-03-21 03:04:47',NULL,NULL),(26,'20250321080447684-047ae478a1ac3ba7',9,'Rogue','active','2025-03-21 03:04:47',NULL,NULL),(27,'20250321080447684-2fdc47e6299b5d50',9,'Frontier','active','2025-03-21 03:04:47',NULL,NULL),(28,'20250321080447684-93e6a776a4ac1734',10,'3 Series','active','2025-03-21 03:04:47',NULL,NULL),(29,'20250321080447684-94c5ead67d165c2d',10,'X5','active','2025-03-21 03:04:47',NULL,NULL),(30,'20250321080447684-fffb433f60f1821b',10,'M4','active','2025-03-21 03:04:47',NULL,NULL);


