[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: database.sql
-- phpMyAdmin SQL Dump -- version 5.0.2 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Oct 16, 2021 at 06:21 PM -- Server version: 10.4.13-MariaDB -- PHP Version: 7.4.8 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `stack_food` -- -- -------------------------------------------------------- -- -- Table structure for table `account_transactions` -- CREATE TABLE `account_transactions` ( `id` bigint(20) UNSIGNED NOT NULL, `from_type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `from_id` bigint(20) NOT NULL, `current_balance` decimal(8,2) NOT NULL, `amount` decimal(8,2) NOT NULL, `method` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `ref` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `add_ons` -- CREATE TABLE `add_ons` ( `id` bigint(20) UNSIGNED NOT NULL, `name` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `price` decimal(8,2) NOT NULL DEFAULT 0.00, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `restaurant_id` bigint(20) UNSIGNED NOT NULL, `status` tinyint(1) NOT NULL DEFAULT 1 ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `admins` -- CREATE TABLE `admins` ( `id` bigint(20) UNSIGNED NOT NULL, `f_name` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `l_name` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `phone` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `email` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL, `image` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `password` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL, `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `role_id` bigint(20) UNSIGNED NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `admin_roles` -- CREATE TABLE `admin_roles` ( `id` bigint(20) UNSIGNED NOT NULL, `name` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL, `modules` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `status` tinyint(1) NOT NULL DEFAULT 1, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `admin_roles` -- INSERT INTO `admin_roles` (`id`, `name`, `modules`, `status`, `created_at`, `updated_at`) VALUES (1, 'Master Admin', NULL, 1, NULL, NULL); -- -------------------------------------------------------- -- -- Table structure for table `admin_wallets` -- CREATE TABLE `admin_wallets` ( `id` bigint(20) UNSIGNED NOT NULL, `admin_id` bigint(20) UNSIGNED NOT NULL, `total_commission_earning` decimal(8,2) NOT NULL DEFAULT 0.00, `digital_received` decimal(8,2) NOT NULL DEFAULT 0.00, `manual_received` decimal(8,2) NOT NULL DEFAULT 0.00, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `delivery_charge` decimal(8,2) NOT NULL DEFAULT 0.00 ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `attributes` -- CREATE TABLE `attributes` ( `id` bigint(20) UNSIGNED NOT NULL, `name` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `banners` -- CREATE TABLE `banners` ( `id` bigint(20) UNSIGNED NOT NULL, `title` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `image` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `status` tinyint(1) NOT NULL DEFAULT 1, `data` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `zone_id` bigint(20) UNSIGNED NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `business_settings` -- CREATE TABLE `business_settings` ( `id` bigint(20) UNSIGNED NOT NULL, `key` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `value` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `business_settings` -- INSERT INTO `business_settings` (`id`, `key`, `value`, `created_at`, `updated_at`) VALUES (1, 'cash_on_delivery', '{\"status\":\"1\"}', '2021-05-11 03:56:38', '2021-09-09 22:27:34'), (2, 'stripe', '{\"status\":\"0\",\"api_key\":null,\"published_key\":null}', '2021-05-11 03:57:02', '2021-09-09 22:28:18'), (4, 'mail_config', NULL, NULL, '2021-05-11 04:14:06'), (5, 'fcm_project_id', NULL, NULL, NULL), (6, 'push_notification_key', NULL, NULL, NULL), (7, 'order_pending_message', '{\"status\":0,\"message\":null}', NULL, NULL), (8, 'order_confirmation_msg', '{\"status\":0,\"message\":null}', NULL, NULL), (9, 'order_processing_message', '{\"status\":0,\"message\":null}', NULL, NULL), (10, 'out_for_delivery_message', '{\"status\":0,\"message\":null}', NULL, NULL), (11, 'order_delivered_message', '{\"status\":0,\"message\":null}', NULL, NULL), (12, 'delivery_boy_assign_message', '{\"status\":0,\"message\":null}', NULL, NULL), (13, 'delivery_boy_start_message', '{\"status\":0,\"message\":null}', NULL, NULL), (14, 'delivery_boy_delivered_message', '{\"status\":0,\"message\":null}', NULL, NULL), (15, 'terms_and_conditions', NULL, NULL, '2021-06-29 06:44:49'), (16, 'business_name', 'StackFood', NULL, NULL), (17, 'currency', 'USD', NULL, NULL), (18, 'logo', NULL, NULL, NULL), (19, 'phone', '0123456789', NULL, NULL), (20, 'email_address', 'admin@admin.com', NULL, NULL), (21, 'address', '307 AVENUE, BERTHELOT, 69008 LYON', NULL, NULL), (22, 'footer_text', 'Footer Text', NULL, NULL), (23, 'customer_verification', '1', NULL, NULL), (24, 'map_api_key', '', NULL, NULL), (25, 'privacy_policy', NULL, NULL, '2021-06-28 09:46:55'), (26, 'about_us', NULL, NULL, '2021-06-29 06:43:25'), (27, 'minimum_shipping_charge', '0', NULL, NULL), (28, 'per_km_shipping_charge', '0', NULL, NULL), (29, 'ssl_commerz_payment', '{\"status\":\"0\",\"store_id\":null,\"store_password\":null}', '2021-07-04 08:52:20', '2021-09-09 22:28:30'), (30, 'razor_pay', '{\"status\":\"0\",\"razor_key\":null,\"razor_secret\":null}', '2021-07-04 08:53:04', '2021-09-09 22:28:25'), (31, 'digital_payment', '{\"status\":\"1\"}', '2021-07-04 08:53:10', '2021-10-16 03:11:55'), (32, 'paypal', '{\"status\":\"0\",\"paypal_client_id\":null,\"paypal_secret\":null}', '2021-07-04 08:53:18', '2021-09-09 22:28:36'), (33, 'paystack', '{\"status\":\"0\",\"publicKey\":null,\"secretKey\":null,\"paymentUrl\":null,\"merchantEmail\":null}', '2021-07-04 09:14:07', '2021-10-16 03:12:17'), (34, 'senang_pay', '{\"status\":null,\"secret_key\":null,\"published_key\":null,\"merchant_id\":null}', '2021-07-04 09:14:13', '2021-09-09 22:28:04'), (35, 'order_handover_message', '{\"status\":0,\"message\":null}', NULL, NULL), (36, 'order_cancled_message', '{\"status\":0,\"message\":null}', NULL, NULL), (37, 'timezone', 'America/Los_Angeles', NULL, NULL), (38, 'order_delivery_verification', '1', NULL, NULL), (39, 'currency_symbol_position', 'right', NULL, NULL), (40, 'schedule_order', '1', NULL, NULL), (41, 'app_minimum_version', '0', NULL, NULL), (42, 'tax', NULL, NULL, NULL), (43, 'admin_commission', '0', NULL, NULL), (44, 'country', 'US', NULL, NULL), (45, 'app_url', 'up_comming', NULL, NULL), (46, 'default_location', '{\"lat\":\"0\",\"lng\":\"0\"}', NULL, NULL), (47, 'twilio_sms', '{\"status\":\"0\",\"sid\":null,\"messaging_service_id\":null,\"token\":null,\"from\":null,\"otp_template\":\"Your otp is #OTP#.\"}', '2021-10-16 03:10:30', '2021-10-16 03:10:30'), (48, 'nexmo_sms', '{\"status\":\"0\",\"api_key\":null,\"api_secret\":null,\"signature_secret\":\"\",\"private_key\":\"\",\"application_id\":\"\",\"from\":null,\"otp_template\":\"Your otp is #OTP#.\"}', '2021-10-16 03:10:22', '2021-10-16 03:10:22'), (49, '2factor_sms', '{\"status\":\"0\",\"api_key\":\"Your otp is #OTP#.\"}', '2021-10-16 03:10:36', '2021-10-16 03:10:36'), (50, 'msg91_sms', '{\"status\":\"0\",\"template_id\":null,\"authkey\":null}', '2021-10-16 03:09:59', '2021-10-16 03:09:59'), (51, 'admin_order_notification', '1', NULL, NULL), (52, 'free_delivery_over', NULL, NULL, NULL), (53, 'maintenance_mode', '0', '2021-09-09 21:33:55', '2021-09-09 21:33:58'), (54, 'app_minimum_version_android', NULL, NULL, NULL), (55, 'app_minimum_version_ios', NULL, NULL, NULL), (56, 'app_url_android', NULL, NULL, NULL), (57, 'app_url_ios', NULL, NULL, NULL), (58, 'dm_maximum_orders', '1', NULL, NULL), (59, 'flutterwave', '{\"status\":\"1\",\"public_key\":null,\"secret_key\":null,\"hash\":null}', '2021-09-23 06:51:28', '2021-10-16 03:12:01'), (60, 'order_confirmation_model', 'deliveryman', NULL, NULL), (61, 'mercadopago', '{\"status\":null,\"public_key\":null,\"access_token\":null}', NULL, '2021-10-16 03:12:09'), (62, 'popular_food', '1', NULL, NULL), (63, 'popular_restaurant', '1', NULL, NULL), (64, 'new_restaurant', '1', NULL, NULL); -- -------------------------------------------------------- -- -- Table structure for table `campaigns` -- CREATE TABLE `campaigns` ( `id` bigint(20) UNSIGNED NOT NULL, `title` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `image` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `description` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `status` tinyint(1) NOT NULL DEFAULT 1, `admin_id` bigint(20) UNSIGNED DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `start_date` date DEFAULT NULL, `end_date` date DEFAULT NULL, `start_time` time DEFAULT NULL, `end_time` time DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `campaign_restaurant` -- CREATE TABLE `campaign_restaurant` ( `campaign_id` bigint(20) UNSIGNED NOT NULL, `restaurant_id` bigint(20) UNSIGNED NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `categories` -- CREATE TABLE `categories` ( `id` bigint(20) UNSIGNED NOT NULL, `name` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL, `image` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'def.png', `parent_id` int(11) NOT NULL, `position` int(11) NOT NULL, `status` tinyint(1) NOT NULL DEFAULT 1, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `priority` int(11) NOT NULL DEFAULT 0 ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `conversations` -- CREATE TABLE `conversations` ( `id` bigint(20) UNSIGNED NOT NULL, `user_id` bigint(20) UNSIGNED DEFAULT NULL, `message` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `reply` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `checked` tinyint(1) NOT NULL DEFAULT 0, `image` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `coupons` -- CREATE TABLE `coupons` ( `id` bigint(20) UNSIGNED NOT NULL, `title` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `code` varchar(15) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `start_date` date DEFAULT NULL, `expire_date` date DEFAULT NULL, `min_purchase` decimal(8,2) NOT NULL DEFAULT 0.00, `max_discount` decimal(8,2) NOT NULL DEFAULT 0.00, `discount` decimal(8,2) NOT NULL DEFAULT 0.00, `discount_type` varchar(15) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'percentage', `coupon_type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'default', `limit` int(11) DEFAULT NULL, `status` tinyint(1) NOT NULL DEFAULT 1, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `data` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `currencies` -- CREATE TABLE `currencies` ( `id` bigint(20) UNSIGNED NOT NULL, `country` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `currency_code` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `currency_symbol` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `exchange_rate` decimal(8,2) DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `currencies` -- INSERT INTO `currencies` (`id`, `country`, `currency_code`, `currency_symbol`, `exchange_rate`, `created_at`, `updated_at`) VALUES (1, 'US Dollar', 'USD', '$', '1.00', NULL, NULL), (2, 'Canadian Dollar', 'CAD', 'CA$', '1.00', NULL, NULL), (3, 'Euro', 'EUR', '€', '1.00', NULL, NULL), (4, 'United Arab Emirates Dirham', 'AED', 'د.إ.', '1.00', NULL, NULL), (5, 'Afghan Afghani', 'AFN', '؋', '1.00', NULL, NULL), (6, 'Albanian Lek', 'ALL', 'L', '1.00', NULL, NULL), (7, 'Armenian Dram', 'AMD', '֏', '1.00', NULL, NULL), (8, 'Argentine Peso', 'ARS', '$', '1.00', NULL, NULL), (9, 'Australian Dollar', 'AUD', '$', '1.00', NULL, NULL), (10, 'Azerbaijani Manat', 'AZN', '₼', '1.00', NULL, NULL), (11, 'Bosnia-Herzegovina Convertible Mark', 'BAM', 'KM', '1.00', NULL, NULL), (12, 'Bangladeshi Taka', 'BDT', '৳', '1.00', NULL, NULL), (13, 'Bulgarian Lev', 'BGN', 'лв.', '1.00', NULL, NULL), (14, 'Bahraini Dinar', 'BHD', 'د.ب.', '1.00', NULL, NULL), (15, 'Burundian Franc', 'BIF', 'FBu', '1.00', NULL, NULL), (16, 'Brunei Dollar', 'BND', 'B$', '1.00', NULL, NULL), (17, 'Bolivian Boliviano', 'BOB', 'Bs', '1.00', NULL, NULL), (18, 'Brazilian Real', 'BRL', 'R$', '1.00', NULL, NULL), (19, 'Botswanan Pula', 'BWP', 'P', '1.00', NULL, NULL), (20, 'Belarusian Ruble', 'BYN', 'Br', '1.00', NULL, NULL), (21, 'Belize Dollar', 'BZD', '$', '1.00', NULL, NULL), (22, 'Congolese Franc', 'CDF', 'FC', '1.00', NULL, NULL), (23, 'Swiss Franc', 'CHF', 'CHf', '1.00', NULL, NULL), (24, 'Chilean Peso', 'CLP', '$', '1.00', NULL, NULL), (25, 'Chinese Yuan', 'CNY', '¥', '1.00', NULL, NULL), (26, 'Colombian Peso', 'COP', '$', '1.00', NULL, NULL), (27, 'Costa Rican Colón', 'CRC', '₡', '1.00', NULL, NULL), (28, 'Cape Verdean Escudo', 'CVE', '$', '1.00', NULL, NULL), (29, 'Czech Republic Koruna', 'CZK', 'Kč', '1.00', NULL, NULL), (30, 'Djiboutian Franc', 'DJF', 'Fdj', '1.00', NULL, NULL), (31, 'Danish Krone', 'DKK', 'Kr.', '1.00', NULL, NULL), (32, 'Dominican Peso', 'DOP', 'RD$', '1.00', NULL, NULL), (33, 'Algerian Dinar', 'DZD', 'د.ج.', '1.00', NULL, NULL), (34, 'Estonian Kroon', 'EEK', 'kr', '1.00', NULL, NULL), (35, 'Egyptian Pound', 'EGP', 'E£', '1.00', NULL, NULL), (36, 'Eritrean Nakfa', 'ERN', 'Nfk', '1.00', NULL, NULL), (37, 'Ethiopian Birr', 'ETB', 'Br', '1.00', NULL, NULL), (38, 'British Pound Sterling', 'GBP', '£', '1.00', NULL, NULL), (39, 'Georgian Lari', 'GEL', 'GEL', '1.00', NULL, NULL), (40, 'Ghanaian Cedi', 'GHS', 'GH¢', '1.00', NULL, NULL), (41, 'Guinean Franc', 'GNF', 'FG', '1.00', NULL, NULL), (42, 'Guatemalan Quetzal', 'GTQ', 'Q', '1.00', NULL, NULL), (43, 'Hong Kong Dollar', 'HKD', 'HK$', '1.00', NULL, NULL), (44, 'Honduran Lempira', 'HNL', 'L', '1.00', NULL, NULL), (45, 'Croatian Kuna', 'HRK', 'kn', '1.00', NULL, NULL), (46, 'Hungarian Forint', 'HUF', 'Ft', '1.00', NULL, NULL), (47, 'Indonesian Rupiah', 'IDR', 'Rp', '1.00', NULL, NULL), (48, 'Israeli New Sheqel', 'ILS', '₪', '1.00', NULL, NULL), (49, 'Indian Rupee', 'INR', '₹', '1.00', NULL, NULL), (50, 'Iraqi Dinar', 'IQD', 'ع.د', '1.00', NULL, NULL), (51, 'Iranian Rial', 'IRR', '﷼', '1.00', NULL, NULL), (52, 'Icelandic Króna', 'ISK', 'kr', '1.00', NULL, NULL), (53, 'Jamaican Dollar', 'JMD', '$', '1.00', NULL, NULL), (54, 'Jordanian Dinar', 'JOD', 'د.ا', '1.00', NULL, NULL), (55, 'Japanese Yen', 'JPY', '¥', '1.00', NULL, NULL), (56, 'Kenyan Shilling', 'KES', 'Ksh', '1.00', NULL, NULL), (57, 'Cambodian Riel', 'KHR', '៛', '1.00', NULL, NULL), (58, 'Comorian Franc', 'KMF', 'FC', '1.00', NULL, NULL), (59, 'South Korean Won', 'KRW', 'CF', '1.00', NULL, NULL), (60, 'Kuwaiti Dinar', 'KWD', 'د.ك.', '1.00', NULL, NULL), (61, 'Kazakhstani Tenge', 'KZT', '₸.', '1.00', NULL, NULL), (62, 'Lebanese Pound', 'LBP', 'ل.ل.', '1.00', NULL, NULL), (63, 'Sri Lankan Rupee', 'LKR', 'Rs', '1.00', NULL, NULL), (64, 'Lithuanian Litas', 'LTL', 'Lt', '1.00', NULL, NULL), (65, 'Latvian Lats', 'LVL', 'Ls', '1.00', NULL, NULL), (66, 'Libyan Dinar', 'LYD', 'د.ل.', '1.00', NULL, NULL), (67, 'Moroccan Dirham', 'MAD', 'د.م.', '1.00', NULL, NULL), (68, 'Moldovan Leu', 'MDL', 'L', '1.00', NULL, NULL), (69, 'Malagasy Ariary', 'MGA', 'Ar', '1.00', NULL, NULL), (70, 'Macedonian Denar', 'MKD', 'Ден', '1.00', NULL, NULL), (71, 'Myanma Kyat', 'MMK', 'K', '1.00', NULL, NULL), (72, 'Macanese Pataca', 'MOP', 'MOP$', '1.00', NULL, NULL), (73, 'Mauritian Rupee', 'MUR', 'Rs', '1.00', NULL, NULL), (74, 'Mexican Peso', 'MXN', '$', '1.00', NULL, NULL), (75, 'Malaysian Ringgit', 'MYR', 'RM', '1.00', NULL, NULL), (76, 'Mozambican Metical', 'MZN', 'MT', '1.00', NULL, NULL), (77, 'Namibian Dollar', 'NAD', 'N$', '1.00', NULL, NULL), (78, 'Nigerian Naira', 'NGN', '₦', '1.00', NULL, NULL), (79, 'Nicaraguan Córdoba', 'NIO', 'C$', '1.00', NULL, NULL), (80, 'Norwegian Krone', 'NOK', 'kr', '1.00', NULL, NULL), (81, 'Nepalese Rupee', 'NPR', 'Re.', '1.00', NULL, NULL), (82, 'New Zealand Dollar', 'NZD', '$', '1.00', NULL, NULL), (83, 'Omani Rial', 'OMR', 'ر.ع.', '1.00', NULL, NULL), (84, 'Panamanian Balboa', 'PAB', 'B/.', '1.00', NULL, NULL), (85, 'Peruvian Nuevo Sol', 'PEN', 'S/', '1.00', NULL, NULL), (86, 'Philippine Peso', 'PHP', '₱', '1.00', NULL, NULL), (87, 'Pakistani Rupee', 'PKR', 'Rs', '1.00', NULL, NULL), (88, 'Polish Zloty', 'PLN', 'zł', '1.00', NULL, NULL), (89, 'Paraguayan Guarani', 'PYG', '₲', '1.00', NULL, NULL), (90, 'Qatari Rial', 'QAR', 'ر.ق.', '1.00', NULL, NULL), (91, 'Romanian Leu', 'RON', 'lei', '1.00', NULL, NULL), (92, 'Serbian Dinar', 'RSD', 'din.', '1.00', NULL, NULL), (93, 'Russian Ruble', 'RUB', '₽.', '1.00', NULL, NULL), (94, 'Rwandan Franc', 'RWF', 'FRw', '1.00', NULL, NULL), (95, 'Saudi Riyal', 'SAR', 'ر.س.', '1.00', NULL, NULL), (96, 'Sudanese Pound', 'SDG', 'ج.س.', '1.00', NULL, NULL), (97, 'Swedish Krona', 'SEK', 'kr', '1.00', NULL, NULL), (98, 'Singapore Dollar', 'SGD', '$', '1.00', NULL, NULL), (99, 'Somali Shilling', 'SOS', 'Sh.so.', '1.00', NULL, NULL), (100, 'Syrian Pound', 'SYP', 'LS', '1.00', NULL, NULL), (101, 'Thai Baht', 'THB', '฿', '1.00', NULL, NULL), (102, 'Tunisian Dinar', 'TND', 'د.ت', '1.00', NULL, NULL), (103, 'Tongan Paʻanga', 'TOP', 'T$', '1.00', NULL, NULL), (104, 'Turkish Lira', 'TRY', '₺', '1.00', NULL, NULL), (105, 'Trinidad and Tobago Dollar', 'TTD', '$', '1.00', NULL, NULL), (106, 'New Taiwan Dollar', 'TWD', 'NT$', '1.00', NULL, NULL), (107, 'Tanzanian Shilling', 'TZS', 'TSh', '1.00', NULL, NULL), (108, 'Ukrainian Hryvnia', 'UAH', '₴', '1.00', NULL, NULL), (109, 'Ugandan Shilling', 'UGX', 'USh', '1.00', NULL, NULL), (110, 'Uruguayan Peso', 'UYU', '$', '1.00', NULL, NULL), (111, 'Uzbekistan Som', 'UZS', 'so\'m', '1.00', NULL, NULL), (112, 'Venezuelan Bolívar', 'VEF', 'Bs.F.', '1.00', NULL, NULL), (113, 'Vietnamese Dong', 'VND', '₫', '1.00', NULL, NULL), (114, 'CFA Franc BEAC', 'XAF', 'FCFA', '1.00', NULL, NULL), (115, 'CFA Franc BCEAO', 'XOF', 'CFA', '1.00', NULL, NULL), (116, 'Yemeni Rial', 'YER', '﷼', '1.00', NULL, NULL), (117, 'South African Rand', 'ZAR', 'R', '1.00', NULL, NULL), (118, 'Zambian Kwacha', 'ZMK', 'ZK', '1.00', NULL, NULL), (119, 'Zimbabwean Dollar', 'ZWL', 'Z$', '1.00', NULL, NULL); -- -------------------------------------------------------- -- -- Table structure for table `customer_addresses` -- CREATE TABLE `customer_addresses` ( `id` bigint(20) UNSIGNED NOT NULL, `address_type` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL, `contact_person_number` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL, `address` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `latitude` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `longitude` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `user_id` bigint(20) UNSIGNED DEFAULT NULL, `contact_person_name` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `zone_id` bigint(20) UNSIGNED NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `delivery_histories` -- CREATE TABLE `delivery_histories` ( `id` bigint(20) UNSIGNED NOT NULL, `order_id` bigint(20) UNSIGNED DEFAULT NULL, `delivery_man_id` bigint(20) UNSIGNED DEFAULT NULL, `time` datetime DEFAULT NULL, `longitude` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `latitude` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `location` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `delivery_man_wallets` -- CREATE TABLE `delivery_man_wallets` ( `id` bigint(20) UNSIGNED NOT NULL, `delivery_man_id` bigint(20) UNSIGNED NOT NULL, `collected_cash` decimal(8,2) NOT NULL DEFAULT 0.00, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `total_earning` decimal(8,2) NOT NULL DEFAULT 0.00, `total_withdrawn` decimal(8,2) NOT NULL DEFAULT 0.00, `pending_withdraw` decimal(8,2) NOT NULL DEFAULT 0.00 ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `delivery_men` -- CREATE TABLE `delivery_men` ( `id` bigint(20) UNSIGNED NOT NULL, `f_name` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `l_name` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `phone` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL, `email` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `identity_number` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `identity_type` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `identity_image` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `image` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `password` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL, `auth_token` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `fcm_token` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `zone_id` bigint(20) DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `status` tinyint(1) NOT NULL DEFAULT 1, `active` tinyint(1) NOT NULL DEFAULT 1, `earning` tinyint(1) NOT NULL DEFAULT 1, `current_orders` int(11) NOT NULL DEFAULT 0, `type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'zone_wise', `restaurant_id` bigint(20) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `discounts` -- CREATE TABLE `discounts` ( `id` bigint(20) UNSIGNED NOT NULL, `start_date` date DEFAULT NULL, `end_date` date DEFAULT NULL, `start_time` time DEFAULT NULL, `end_time` time DEFAULT NULL, `min_purchase` decimal(8,2) NOT NULL DEFAULT 0.00, `max_discount` decimal(8,2) NOT NULL DEFAULT 0.00, `discount` decimal(8,2) NOT NULL DEFAULT 0.00, `discount_type` varchar(15) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'percentage', `restaurant_id` bigint(20) UNSIGNED NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `d_m_reviews` -- CREATE TABLE `d_m_reviews` ( `id` bigint(20) UNSIGNED NOT NULL, `delivery_man_id` bigint(20) UNSIGNED NOT NULL, `user_id` bigint(20) UNSIGNED NOT NULL, `order_id` bigint(20) UNSIGNED NOT NULL, `comment` mediumtext COLLATE utf8mb4_unicode_ci DEFAULT NULL, `attachment` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `rating` int(11) NOT NULL DEFAULT 0, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `email_verifications` -- CREATE TABLE `email_verifications` ( `id` bigint(20) UNSIGNED NOT NULL, `email` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `token` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `employee_roles` -- CREATE TABLE `employee_roles` ( `id` bigint(20) UNSIGNED NOT NULL, `name` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL, `modules` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `status` tinyint(1) NOT NULL DEFAULT 1, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `failed_jobs` -- CREATE TABLE `failed_jobs` ( `id` bigint(20) UNSIGNED NOT NULL, `uuid` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `connection` text COLLATE utf8mb4_unicode_ci NOT NULL, `queue` text COLLATE utf8mb4_unicode_ci NOT NULL, `payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL, `exception` longtext COLLATE utf8mb4_unicode_ci NOT NULL, `failed_at` timestamp NOT NULL DEFAULT current_timestamp() ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `food` -- CREATE TABLE `food` ( `id` bigint(20) UNSIGNED NOT NULL, `name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `description` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `image` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `category_id` bigint(20) UNSIGNED DEFAULT NULL, `category_ids` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `variations` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `add_ons` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `attributes` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `choice_options` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `price` decimal(8,2) NOT NULL DEFAULT 0.00, `tax` decimal(8,2) NOT NULL DEFAULT 0.00, `tax_type` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'percent', `discount` decimal(8,2) NOT NULL DEFAULT 0.00, `discount_type` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'percent', `available_time_starts` time DEFAULT NULL, `available_time_ends` time DEFAULT NULL, `set_menu` tinyint(1) NOT NULL DEFAULT 0, `status` tinyint(1) NOT NULL DEFAULT 1, `restaurant_id` bigint(20) UNSIGNED NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `order_count` int(11) NOT NULL DEFAULT 0 ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `item_campaigns` -- CREATE TABLE `item_campaigns` ( `id` bigint(20) UNSIGNED NOT NULL, `title` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `image` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `description` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `status` tinyint(1) NOT NULL DEFAULT 1, `admin_id` bigint(20) UNSIGNED NOT NULL, `start_date` date DEFAULT NULL, `end_date` date DEFAULT NULL, `start_time` time DEFAULT NULL, `end_time` time DEFAULT NULL, `category_id` bigint(20) UNSIGNED DEFAULT NULL, `category_ids` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `variations` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `add_ons` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `attributes` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `choice_options` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `price` decimal(8,2) NOT NULL DEFAULT 0.00, `tax` decimal(8,2) NOT NULL DEFAULT 0.00, `tax_type` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'percent', `discount` decimal(8,2) NOT NULL DEFAULT 0.00, `discount_type` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'percent', `restaurant_id` bigint(20) UNSIGNED NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `mail_configs` -- CREATE TABLE `mail_configs` ( `id` bigint(20) UNSIGNED NOT NULL, `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `host` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `driver` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `port` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `username` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `encryption` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `password` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `restaurant_id` bigint(20) UNSIGNED NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `migrations` -- CREATE TABLE `migrations` ( `id` int(10) UNSIGNED NOT NULL, `migration` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `batch` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `migrations` -- INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES (1, '2014_10_12_000000_create_users_table', 1), (2, '2014_10_12_100000_create_password_resets_table', 1), (3, '2019_08_19_000000_create_failed_jobs_table', 1), (4, '2021_05_05_081114_create_admins_table', 1), (5, '2021_05_05_102600_create_attributes_table', 1), (6, '2021_05_05_102742_create_categories_table', 1), (7, '2021_05_06_102004_create_vendors_table', 1), (8, '2021_05_06_153204_create_restaurants_table', 1), (9, '2021_05_08_113436_create_add_ons_table', 2), (47, '2021_05_08_123446_create_food_table', 10), (48, '2021_05_08_141209_create_currencies_table', 10), (49, '2021_05_09_050232_create_orders_table', 10), (50, '2021_05_09_051907_create_reviews_table', 10), (51, '2021_05_09_054237_create_order_details_table', 10), (52, '2021_05_10_105324_create_mail_configs_table', 10), (53, '2021_05_10_152713_create_business_settings_table', 10), (54, '2021_05_11_111722_create_banners_table', 11), (55, '2021_05_11_134442_create_coupons_table', 11), (56, '2021_05_12_053344_create_conversations_table', 11), (57, '2021_05_12_055454_create_delivery_men_table', 12), (58, '2021_05_12_060138_create_d_m_reviews_table', 12), (59, '2021_05_12_060527_create_track_deliverymen_table', 12), (60, '2021_05_12_061345_create_email_verifications_table', 12), (61, '2021_05_12_061454_create_delivery_histories_table', 12), (62, '2021_05_12_061718_create_wishlists_table', 12), (63, '2021_05_12_061924_create_notifications_table', 12), (64, '2021_05_12_062152_create_customer_addresses_table', 12), (68, '2021_05_12_062412_create_order_delivery_histories_table', 13), (69, '2021_05_19_115112_create_zones_table', 13), (70, '2021_05_19_120612_create_restaurant_zone_table', 13), (71, '2021_06_07_103835_add_column_to_vendor_table', 14), (73, '2021_06_07_112335_add_column_to_vendors_table', 15), (74, '2021_06_08_162354_add_column_to_restaurants_table', 16), (77, '2021_06_09_115719_add_column_to_add_ons_table', 17), (78, '2021_06_10_091547_add_column_to_coupons_table', 18), (79, '2021_06_12_070530_rename_banners_table', 19), (80, '2021_06_12_091154_add_column_on_campaigns_table', 20), (87, '2021_06_12_091848_create_item_campaigns_table', 21), (92, '2021_06_13_155531_create_campaign_restaurant_table', 22), (93, '2021_06_14_090520_add_item_campaign_id_column_to_reviews_table', 23), (94, '2021_06_14_091735_add_item_campaign_id_column_to_order_details_table', 24), (95, '2021_06_14_120713_create_new_banners_table', 25), (96, '2021_06_15_103656_add_zone_id_column_to_banners_table', 26), (97, '2021_06_16_110322_create_discounts_table', 27), (100, '2021_06_17_150243_create_withdraw_requests_table', 28), (103, '2016_06_01_000001_create_oauth_auth_codes_table', 30), (104, '2016_06_01_000002_create_oauth_access_tokens_table', 30), (105, '2016_06_01_000003_create_oauth_refresh_tokens_table', 30), (106, '2016_06_01_000004_create_oauth_clients_table', 30), (107, '2016_06_01_000005_create_oauth_personal_access_clients_table', 30), (108, '2021_06_21_051135_add_delivery_charge_to_orders_table', 31), (110, '2021_06_23_080009_add_role_id_to_admins_table', 32), (111, '2021_06_27_140224_add_interest_column_to_users_table', 33), (113, '2021_06_27_142558_change_column_to_restaurants_table', 34), (114, '2021_06_27_152139_add_restaurant_id_column_to_wishlists_table', 35), (115, '2021_06_28_142443_add_restaurant_id_column_to_customer_addresses_table', 36), (118, '2021_06_29_134119_add_schedule_column_to_orders_table', 37), (122, '2021_06_30_084854_add_cm_firebase_token_column_to_users_table', 38), (123, '2021_06_30_133932_add_code_column_to_coupons_table', 39), (127, '2021_07_01_151103_change_column_food_id_from_admin_wallet_histories_table', 40), (129, '2021_07_04_142159_add_callback_column_to_orders_table', 41), (131, '2021_07_05_155506_add_cm_firebase_token_to_vendors_table', 42), (133, '2021_07_05_162404_add_otp_to_orders_table', 43), (134, '2021_07_13_133941_create_admin_roles_table', 44), (135, '2021_07_14_074431_add_status_to_delivery_men_table', 45), (136, '2021_07_14_104102_create_vendor_employees_table', 46), (137, '2021_07_14_110011_create_employee_roles_table', 46), (138, '2021_07_15_124141_add_cover_photo_to_restaurants_table', 47), (143, '2021_06_17_145949_create_wallets_table', 48), (144, '2021_06_19_052600_create_admin_wallets_table', 48), (145, '2021_07_19_103748_create_delivery_man_wallets_table', 48), (146, '2021_07_19_105442_create_account_transactions_table', 48), (147, '2021_07_19_110152_create_order_transactions_table', 48), (148, '2021_07_19_134356_add_column_to_notifications_table', 49), (149, '2021_07_25_125316_add_available_to_delivery_men_table', 50), (150, '2021_07_25_154722_add_columns_to_restaurants_table', 51), (151, '2021_07_29_162336_add_schedule_order_column_to_restaurants_table', 52), (152, '2021_07_31_140756_create_phone_verifications_table', 53), (153, '2021_08_01_151717_add_column_to_order_transactions_table', 54), (154, '2021_08_01_163520_add_column_to_admin_wallets_table', 54), (155, '2021_08_02_141909_change_time_column_to_restaurants_table', 55), (157, '2021_08_02_183356_add_tax_column_to_restaurants_table', 56), (158, '2021_08_04_215618_add_zone_id_column_to_restaurants_table', 57), (159, '2021_08_06_123001_add_address_column_to_orders_table', 58), (160, '2021_08_06_123326_add_zone_wise_topic_column_to_zones_table', 58), (161, '2021_08_08_112127_add_scheduled_column_on_orders_table', 59), (162, '2021_08_08_203108_add_status_column_to_users_table', 60), (163, '2021_08_11_193805_add_product_discount_ammount_column_to_orders_table', 61), (165, '2021_08_12_112511_add_addons_column_to_order_details_table', 62), (166, '2021_08_12_195346_add_zone_id_to_notifications_table', 63), (167, '2021_08_14_110131_create_user_notifications_table', 64), (168, '2021_08_14_175657_add_order_count_column_to_foods_table', 65), (169, '2021_08_14_180044_add_order_count_column_to_users_table', 65), (170, '2021_08_19_051055_add_earnign_column_to_deliverymen_table', 66), (171, '2021_08_19_051721_add_original_delivery_charge_column_to_orders_table', 66), (172, '2021_08_19_055839_create_provide_d_m_earnings_table', 67), (173, '2021_08_19_112810_add_original_delivery_charge_column_to_order_transactions_table', 67), (174, '2021_08_19_114851_add_columns_to_delivery_man_wallets_table', 67), (175, '2021_08_21_162616_change_comission_column_to_restaurants_table', 68), (176, '2021_06_17_054551_create_soft_credentials_table', 69), (177, '2021_08_22_232507_add_failed_column_to_orders_table', 69), (178, '2021_09_04_172723_add_column_reviews_section_to_restaurants_table', 69), (179, '2021_09_11_164936_change_delivery_address_column_to_orders_table', 70), (180, '2021_09_11_165426_change_address_column_to_customer_addresses_table', 70), (181, '2021_09_23_120332_change_available_column_to_delivery_men_table', 71), (182, '2021_10_03_214536_add_active_column_to_restaurants_table', 72), (183, '2021_10_04_123739_add_priority_column_to_categories_table', 72), (184, '2021_10_06_200730_add_restaurant_id_column_to_demiverymen_table', 72), (185, '2021_10_07_223332_add_self_delivery_column_to_restaurants_table', 72), (186, '2021_10_11_214123_change_add_ons_column_to_order_details_table', 72), (187, '2021_10_11_215352_add_adjustment_column_to_orders_table', 72); -- -------------------------------------------------------- -- -- Table structure for table `notifications` -- CREATE TABLE `notifications` ( `id` bigint(20) UNSIGNED NOT NULL, `title` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `description` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `image` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `status` tinyint(1) NOT NULL DEFAULT 1, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `tergat` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `zone_id` bigint(20) UNSIGNED DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `oauth_access_tokens` -- CREATE TABLE `oauth_access_tokens` ( `id` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL, `user_id` bigint(20) UNSIGNED DEFAULT NULL, `client_id` bigint(20) UNSIGNED NOT NULL, `name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `scopes` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `revoked` tinyint(1) NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `expires_at` datetime DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `oauth_access_tokens` -- INSERT INTO `oauth_access_tokens` (`id`, `user_id`, `client_id`, `name`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) VALUES ('02c187400441f53687a30af580361503d21ab9e30fc263f729536e3e6fb8e013c5f10f170df66154', 56, 1, 'RestaurantCustomerAuth', '[]', 0, '2021-08-14 07:26:44', '2021-08-14 07:26:44', '2022-08-14 13:26:44'), ('03652f98734cb46633be656afd61eb9d6bef93da6cb3f97e5d862e758bc8a7458f4271c9fc525a03', 56, 1, 'RestaurantCustomerAuth', '[]', 0, '2021-07-04 04:56:56', '2021-07-04 04:56:56', '2022-07-04 10:56:56'), ('0ce77d214106aa7d2691f22e57a52d61e83c4a74e232b6cf6409728c337a731412d5f011c265abf9', 56, 1, 'RestaurantCustomerAuth', '[]', 0, '2021-08-08 14:51:24', '2021-08-08 14:51:24', '2022-08-08 20:51:24'), ('1796645666d7dd6ef53186e095fb9c39d2128e5cca19f2e1ac8e7e7da82d6174fe98b14e94925188', 56, 1, 'RestaurantCustomerAuth', '[]', 0, '2021-08-04 07:35:29', '2021-08-04 07:35:29', '2022-08-04 13:35:29'), ('2919672ecc1e3dd9f2759d15f8cc54882d1d9f780cfda82fb83c8359de8654492ea6703956a7c50d', 56, 1, 'RestaurantCustomerAuth', '[]', 0, '2021-07-15 08:22:28', '2021-07-15 08:22:28', '2022-07-15 14:22:28'), ('2f49586a4ac33179f846e60afba15e655ceef494cd64f6812d4ab109336f5fb008cb3005137f700c', 56, 1, 'RestaurantCustomerAuth', '[]', 0, '2021-08-03 13:21:13', '2021-08-03 13:21:13', '2022-08-03 19:21:13'), ('3115e428f22908fa2d94bf2804d1ed2d9929cb27da233aedf24c8bc71dc8066f91b0c63a795c26e9', 56, 1, 'RestaurantCustomerAuth', '[]', 0, '2021-07-31 08:33:37', '2021-07-31 08:33:37', '2022-07-31 14:33:37'), ('36217e984b8904eb4dfd30ed62eef9d725c1e8e63a6c1485bb084ef323ad5eea852c84e17560bd54', 56, 1, 'RestaurantCustomerAuth', '[]', 0, '2021-07-14 00:51:51', '2021-07-14 00:51:51', '2022-07-14 06:51:51'), ('3abfb4980fdf3c858e1c371352db40dae9e1e40f095b00dcd09c84ff7c8189a305f1be985e4274b3', 56, 1, 'RestaurantCustomerAuth', '[]', 0, '2021-06-19 03:50:53', '2021-06-19 03:50:53', '2022-06-19 09:50:53'), ('3cd3269423e543961a7b64e8169875725eb47f8d0f309c69a4a770258de65e9c02057ed9000942da', 56, 1, 'RestaurantCustomerAuth', '[]', 0, '2021-08-04 07:35:04', '2021-08-04 07:35:04', '2022-08-04 13:35:04'), ('3e923b1f4084faba1a2e5448bd8b72e09b74db6ed25fbe14f6960a5f005107496cc507c1ba15c6e1', 56, 1, 'RestaurantCustomerAuth', '[]', 0, '2021-06-22 01:32:58', '2021-06-22 01:32:58', '2022-06-22 07:32:58'), ('4140d5b9b3d16e4bbef1b676b01f13f75d9c3fb2cada6548e50b0b2679562aace3b9b44f82f15f30', 56, 1, 'RestaurantCustomerAuth', '[]', 0, '2021-08-19 17:10:26', '2021-08-19 17:10:26', '2022-08-19 23:10:26'), ('4cfad08796e4a1eecfe8bbdc20e512e0954570168990fa60442ad41b5ecf05e4005cadcae08fbddd', 56, 1, 'RestaurantCustomerAuth', '[]', 0, '2021-06-19 03:29:52', '2021-06-19 03:29:52', '2022-06-19 09:29:52'), ('53afc11b36d08435d8ec82c42305f7aa4397d10b2d296f6e7d819e091d0d7c6d48e14cdc5e66e6c9', 56, 1, 'RestaurantCustomerAuth', '[]', 0, '2021-06-23 23:08:01', '2021-06-23 23:08:01', '2022-06-24 05:08:01'), ('5646d6337aaed0e662c059ed368372e2da241ff97a42df56310667ec321fdbf2252d92771988640a', 56, 1, 'RestaurantCustomerAuth', '[]', 0, '2021-08-04 07:37:55', '2021-08-04 07:37:55', '2022-08-04 13:37:55'), ('59551e481bc1fb037bee07e1501d81dad38d4ff34fdca68a49c40d0cf423176ca111940acd359aeb', 56, 1, 'RestaurantCustomerAuth', '[]', 0, '2021-08-08 14:50:59', '2021-08-08 14:50:59', '2022-08-08 20:50:59'), ('68b06321c4bbbea81e7dfcbd8d5fae1a94a2fa0500041ee5774be2d9300c1ff7590d03604b77514a', 56, 1, 'RestaurantCustomerAuth', '[]', 0, '2021-07-28 02:33:54', '2021-07-28 02:33:54', '2022-07-28 08:33:54'), ('723ceee668cd1a7fc2e977be48cab3f31aed1ace0883692711b5cc2ddf42c2f23c6d75461172105f', 56, 1, 'RestaurantCustomerAuth', '[]', 0, '2021-07-01 05:46:27', '2021-07-01 05:46:27', '2022-07-01 11:46:27'), ('74e2dd27429bb92c12e33f891ccff32f48c22463166666705d145cfd8968d96ec992fa2cc3a36e76', 56, 1, 'RestaurantCustomerAuth', '[]', 0, '2021-06-23 23:08:23', '2021-06-23 23:08:23', '2022-06-24 05:08:23'), ('77c9389b2ab3031e09005a7e7be90d00496ff073dbbefeb57229cee5d0a240376c1f7c3c8a94faff', 56, 1, 'RestaurantCustomerAuth', '[]', 0, '2021-06-19 03:38:22', '2021-06-19 03:38:22', '2022-06-19 09:38:22'), ('8a20c4f8656e404615f9abc15a95f6754dd87e4e894677647dd17236b95d8a5d7cc243c38457b048', 56, 1, 'RestaurantCustomerAuth', '[]', 0, '2021-07-04 02:36:57', '2021-07-04 02:36:57', '2022-07-04 08:36:57'), ('8ffc458ddbcbbbec17035dc2153c4baeebb5c54796b3a9008f24c8699197a8a2fc1111c36cc1d7da', 56, 1, 'RestaurantCustomerAuth', '[]', 0, '2021-08-14 07:27:12', '2021-08-14 07:27:12', '2022-08-14 13:27:12'), ('a092dc4a49ec27a06d8c9c335446de3d90e03363c6059cdf6fbf2113edaab5fe752053a794ac9236', 56, 1, 'RestaurantCustomerAuth', '[]', 0, '2021-08-08 10:12:49', '2021-08-08 10:12:49', '2022-08-08 16:12:49'), ('b4651c7e8bbe8a68b4959504c3a7e3705208cbdb79fcc2498b9b3d0efa9c7cadc77699590cf8f2d4', 56, 1, 'RestaurantCustomerAuth', '[]', 0, '2021-06-20 03:59:46', '2021-06-20 03:59:46', '2022-06-20 09:59:46'), ('bf24e16194d82c4e2982724df0fef68f7923d6d01ce8c5e1b64e2716d2412db6e62891f0f8dae8a6', 57, 1, 'RestaurantCustomerAuth', '[]', 0, '2021-07-31 08:34:19', '2021-07-31 08:34:19', '2022-07-31 14:34:19'), ('c1b7df78e7373f5eca5f64083ac9bbc6c9bd582adf6c143f520c8a65420d3ee050044e6f65f0a033', 56, 1, 'RestaurantCustomerAuth', '[]', 0, '2021-06-24 03:40:43', '2021-06-24 03:40:43', '2022-06-24 09:40:43'), ('dd6578c99fc90f666b9433871d28f9913fefc860d9a60427388cfcf727be6f5c10eb8b764b39c557', 56, 1, 'RestaurantCustomerAuth', '[]', 0, '2021-06-28 10:20:50', '2021-06-28 10:20:50', '2022-06-28 16:20:50'), ('ea3ca170bd7935fe3f2a9c80c74d1e8e6eda8cc197ce2066305a286d175ad250475a4657e498779b', 56, 1, 'RestaurantCustomerAuth', '[]', 0, '2021-06-21 01:24:25', '2021-06-21 01:24:25', '2022-06-21 07:24:25'); -- -------------------------------------------------------- -- -- Table structure for table `oauth_auth_codes` -- CREATE TABLE `oauth_auth_codes` ( `id` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL, `user_id` bigint(20) UNSIGNED NOT NULL, `client_id` bigint(20) UNSIGNED NOT NULL, `scopes` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `revoked` tinyint(1) NOT NULL, `expires_at` datetime DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `oauth_clients` -- CREATE TABLE `oauth_clients` ( `id` bigint(20) UNSIGNED NOT NULL, `user_id` bigint(20) UNSIGNED DEFAULT NULL, `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `secret` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `provider` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `redirect` text COLLATE utf8mb4_unicode_ci NOT NULL, `personal_access_client` tinyint(1) NOT NULL, `password_client` tinyint(1) NOT NULL, `revoked` tinyint(1) NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `oauth_clients` -- INSERT INTO `oauth_clients` (`id`, `user_id`, `name`, `secret`, `provider`, `redirect`, `personal_access_client`, `password_client`, `revoked`, `created_at`, `updated_at`) VALUES (1, NULL, 'Laravel Personal Access Client', 'qFAwGhxq8A6SDmolyxZunXyQ4mxOH0jEezXsgaxP', NULL, 'http://localhost', 1, 0, 0, '2021-06-19 03:27:59', '2021-06-19 03:27:59'), (2, NULL, 'Laravel Password Grant Client', 'qdV021R3MGGAwRxvvqG0mWgnypwzolzusBq1L5W6', 'users', 'http://localhost', 0, 1, 0, '2021-06-19 03:27:59', '2021-06-19 03:27:59'); -- -------------------------------------------------------- -- -- Table structure for table `oauth_personal_access_clients` -- CREATE TABLE `oauth_personal_access_clients` ( `id` bigint(20) UNSIGNED NOT NULL, `client_id` bigint(20) UNSIGNED NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `oauth_personal_access_clients` -- INSERT INTO `oauth_personal_access_clients` (`id`, `client_id`, `created_at`, `updated_at`) VALUES (1, 1, '2021-06-19 03:27:59', '2021-06-19 03:27:59'); -- -------------------------------------------------------- -- -- Table structure for table `oauth_refresh_tokens` -- CREATE TABLE `oauth_refresh_tokens` ( `id` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL, `access_token_id` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL, `revoked` tinyint(1) NOT NULL, `expires_at` datetime DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `orders` -- CREATE TABLE `orders` ( `id` bigint(20) UNSIGNED NOT NULL, `user_id` bigint(20) UNSIGNED DEFAULT NULL, `order_amount` decimal(8,2) NOT NULL DEFAULT 0.00, `coupon_discount_amount` decimal(8,2) NOT NULL DEFAULT 0.00, `coupon_discount_title` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `payment_status` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'unpaid', `order_status` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending', `total_tax_amount` decimal(8,2) NOT NULL DEFAULT 0.00, `payment_method` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `transaction_reference` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `delivery_address_id` bigint(20) DEFAULT NULL, `delivery_man_id` bigint(20) UNSIGNED DEFAULT NULL, `coupon_code` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `order_note` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `order_type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'delivery', `checked` tinyint(1) NOT NULL DEFAULT 0, `restaurant_id` bigint(20) UNSIGNED NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `delivery_charge` decimal(6,2) NOT NULL DEFAULT 0.00, `schedule_at` timestamp NULL DEFAULT NULL, `callback` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `otp` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `pending` timestamp NULL DEFAULT NULL, `accepted` timestamp NULL DEFAULT NULL, `confirmed` timestamp NULL DEFAULT NULL, `processing` timestamp NULL DEFAULT NULL, `handover` timestamp NULL DEFAULT NULL, `picked_up` timestamp NULL DEFAULT NULL, `delivered` timestamp NULL DEFAULT NULL, `canceled` timestamp NULL DEFAULT NULL, `refund_requested` timestamp NULL DEFAULT NULL, `refunded` timestamp NULL DEFAULT NULL, `delivery_address` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `scheduled` tinyint(1) NOT NULL DEFAULT 0, `restaurant_discount_amount` decimal(8,2) NOT NULL, `original_delivery_charge` decimal(8,2) NOT NULL DEFAULT 0.00, `failed` timestamp NULL DEFAULT NULL, `adjusment` decimal(8,2) NOT NULL DEFAULT 0.00, `edited` tinyint(1) NOT NULL DEFAULT 0 ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `order_delivery_histories` -- CREATE TABLE `order_delivery_histories` ( `id` bigint(20) UNSIGNED NOT NULL, `order_id` bigint(20) UNSIGNED DEFAULT NULL, `delivery_man_id` bigint(20) UNSIGNED DEFAULT NULL, `start_time` datetime DEFAULT NULL, `end_time` datetime DEFAULT NULL, `start_location` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `end_location` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `order_details` -- CREATE TABLE `order_details` ( `id` bigint(20) UNSIGNED NOT NULL, `food_id` bigint(20) UNSIGNED DEFAULT NULL, `order_id` bigint(20) UNSIGNED DEFAULT NULL, `price` decimal(8,2) NOT NULL DEFAULT 0.00, `food_details` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `variation` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `add_ons` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `discount_on_food` decimal(8,2) DEFAULT NULL, `discount_type` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'amount', `quantity` int(11) NOT NULL DEFAULT 1, `tax_amount` decimal(8,2) NOT NULL DEFAULT 1.00, `variant` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `item_campaign_id` bigint(20) UNSIGNED DEFAULT NULL, `total_add_on_price` decimal(8,2) NOT NULL DEFAULT 0.00 ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `order_transactions` -- CREATE TABLE `order_transactions` ( `id` bigint(20) UNSIGNED NOT NULL, `vendor_id` bigint(20) UNSIGNED NOT NULL, `delivery_man_id` bigint(20) UNSIGNED DEFAULT NULL, `order_id` bigint(20) UNSIGNED NOT NULL, `order_amount` decimal(8,2) NOT NULL, `restaurant_amount` decimal(8,2) NOT NULL, `admin_commission` decimal(8,2) NOT NULL, `received_by` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `status` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `delivery_charge` decimal(8,2) NOT NULL DEFAULT 0.00, `original_delivery_charge` decimal(8,2) NOT NULL DEFAULT 0.00, `tax` decimal(8,2) NOT NULL DEFAULT 0.00 ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `password_resets` -- CREATE TABLE `password_resets` ( `email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `token` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `phone_verifications` -- CREATE TABLE `phone_verifications` ( `id` bigint(20) UNSIGNED NOT NULL, `phone` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `token` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `provide_d_m_earnings` -- CREATE TABLE `provide_d_m_earnings` ( `id` bigint(20) UNSIGNED NOT NULL, `delivery_man_id` bigint(20) UNSIGNED NOT NULL, `amount` decimal(8,2) NOT NULL DEFAULT 0.00, `method` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `ref` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `restaurants` -- CREATE TABLE `restaurants` ( `id` bigint(20) UNSIGNED NOT NULL, `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `phone` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL, `email` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `logo` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `latitude` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `longitude` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `address` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `footer_text` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `minimum_order` decimal(6,2) NOT NULL DEFAULT 0.00, `comission` decimal(8,2) DEFAULT NULL, `schedule_order` tinyint(1) NOT NULL DEFAULT 0, `opening_time` time DEFAULT '10:00:00', `closeing_time` time DEFAULT '23:00:00', `status` tinyint(1) NOT NULL DEFAULT 1, `vendor_id` bigint(20) UNSIGNED NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `free_delivery` tinyint(1) NOT NULL DEFAULT 0, `rating` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `cover_photo` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `delivery` tinyint(1) NOT NULL DEFAULT 1, `take_away` tinyint(1) NOT NULL DEFAULT 1, `food_section` tinyint(1) NOT NULL DEFAULT 1, `tax` decimal(6,2) NOT NULL DEFAULT 0.00, `zone_id` bigint(20) UNSIGNED DEFAULT NULL, `reviews_section` tinyint(1) NOT NULL DEFAULT 1, `active` tinyint(1) NOT NULL DEFAULT 1, `off_day` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' ', `gst` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `self_delivery_system` tinyint(1) NOT NULL DEFAULT 0, `pos_system` tinyint(1) NOT NULL DEFAULT 0, `delivery_charge` decimal(8,2) NOT NULL DEFAULT 0.00 ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `restaurant_wallets` -- CREATE TABLE `restaurant_wallets` ( `id` bigint(20) UNSIGNED NOT NULL, `vendor_id` bigint(20) UNSIGNED NOT NULL, `total_earning` decimal(8,2) NOT NULL DEFAULT 0.00, `total_withdrawn` decimal(8,2) NOT NULL DEFAULT 0.00, `pending_withdraw` decimal(8,2) NOT NULL DEFAULT 0.00, `collected_cash` decimal(8,2) NOT NULL DEFAULT 0.00, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `restaurant_zone` -- CREATE TABLE `restaurant_zone` ( `id` bigint(20) UNSIGNED NOT NULL, `restaurant_id` bigint(20) UNSIGNED NOT NULL, `zone_id` bigint(20) UNSIGNED NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `reviews` -- CREATE TABLE `reviews` ( `id` bigint(20) UNSIGNED NOT NULL, `food_id` bigint(20) UNSIGNED NOT NULL, `user_id` bigint(20) UNSIGNED NOT NULL, `comment` mediumtext COLLATE utf8mb4_unicode_ci DEFAULT NULL, `attachment` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `rating` int(11) NOT NULL DEFAULT 0, `order_id` bigint(20) UNSIGNED DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `item_campaign_id` bigint(20) UNSIGNED DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `soft_credentials` -- CREATE TABLE `soft_credentials` ( `id` bigint(20) UNSIGNED NOT NULL, `key` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `value` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `track_deliverymen` -- CREATE TABLE `track_deliverymen` ( `id` bigint(20) UNSIGNED NOT NULL, `order_id` bigint(20) UNSIGNED DEFAULT NULL, `delivery_man_id` bigint(20) UNSIGNED DEFAULT NULL, `longitude` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `latitude` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `users` -- CREATE TABLE `users` ( `id` bigint(20) UNSIGNED NOT NULL, `f_name` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `l_name` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `phone` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL, `email` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `image` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `is_phone_verified` tinyint(1) NOT NULL DEFAULT 0, `email_verified_at` timestamp NULL DEFAULT NULL, `password` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL, `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `interest` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `cm_firebase_token` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `status` tinyint(1) NOT NULL DEFAULT 1, `order_count` int(11) NOT NULL DEFAULT 0 ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `user_notifications` -- CREATE TABLE `user_notifications` ( `id` bigint(20) UNSIGNED NOT NULL, `data` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `status` tinyint(1) NOT NULL DEFAULT 1, `user_id` bigint(20) UNSIGNED DEFAULT NULL, `vendor_id` bigint(20) UNSIGNED DEFAULT NULL, `delivery_man_id` bigint(20) UNSIGNED DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `vendors` -- CREATE TABLE `vendors` ( `id` bigint(20) UNSIGNED NOT NULL, `f_name` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL, `l_name` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `phone` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL, `email` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL, `email_verified_at` timestamp NULL DEFAULT NULL, `password` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL, `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `bank_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `branch` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `holder_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `account_no` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `image` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `status` tinyint(1) NOT NULL DEFAULT 1, `firebase_token` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `auth_token` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `vendor_employees` -- CREATE TABLE `vendor_employees` ( `id` bigint(20) UNSIGNED NOT NULL, `f_name` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `l_name` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `phone` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `email` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL, `image` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `employee_role_id` bigint(20) UNSIGNED NOT NULL, `vendor_id` bigint(20) UNSIGNED NOT NULL, `restaurant_id` bigint(20) UNSIGNED NOT NULL, `password` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL, `status` tinyint(1) NOT NULL DEFAULT 1, `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `firebase_token` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `auth_token` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `wishlists` -- CREATE TABLE `wishlists` ( `id` bigint(20) UNSIGNED NOT NULL, `user_id` bigint(20) UNSIGNED NOT NULL, `food_id` bigint(20) UNSIGNED DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `restaurant_id` bigint(20) UNSIGNED DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `withdraw_requests` -- CREATE TABLE `withdraw_requests` ( `id` bigint(20) UNSIGNED NOT NULL, `vendor_id` bigint(20) UNSIGNED NOT NULL, `admin_id` bigint(20) UNSIGNED DEFAULT NULL, `transaction_note` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `amount` decimal(8,2) NOT NULL DEFAULT 0.00, `approved` tinyint(1) NOT NULL DEFAULT 0, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `zones` -- CREATE TABLE `zones` ( `id` bigint(20) UNSIGNED NOT NULL, `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `coordinates` polygon NOT NULL, `status` tinyint(1) NOT NULL DEFAULT 1, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `restaurant_wise_topic` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `customer_wise_topic` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `deliveryman_wise_topic` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Indexes for dumped tables -- -- -- Indexes for table `account_transactions` -- ALTER TABLE `account_transactions` ADD PRIMARY KEY (`id`); -- -- Indexes for table `add_ons` -- ALTER TABLE `add_ons` ADD PRIMARY KEY (`id`); -- -- Indexes for table `admins` -- ALTER TABLE `admins` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `admins_email_unique` (`email`); -- -- Indexes for table `admin_roles` -- ALTER TABLE `admin_roles` ADD PRIMARY KEY (`id`); -- -- Indexes for table `admin_wallets` -- ALTER TABLE `admin_wallets` ADD PRIMARY KEY (`id`); -- -- Indexes for table `attributes` -- ALTER TABLE `attributes` ADD PRIMARY KEY (`id`); -- -- Indexes for table `banners` -- ALTER TABLE `banners` ADD PRIMARY KEY (`id`); -- -- Indexes for table `business_settings` -- ALTER TABLE `business_settings` ADD PRIMARY KEY (`id`); -- -- Indexes for table `campaigns` -- ALTER TABLE `campaigns` ADD PRIMARY KEY (`id`); -- -- Indexes for table `categories` -- ALTER TABLE `categories` ADD PRIMARY KEY (`id`); -- -- Indexes for table `conversations` -- ALTER TABLE `conversations` ADD PRIMARY KEY (`id`); -- -- Indexes for table `coupons` -- ALTER TABLE `coupons` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `coupons_code_unique` (`code`); -- -- Indexes for table `currencies` -- ALTER TABLE `currencies` ADD PRIMARY KEY (`id`); -- -- Indexes for table `customer_addresses` -- ALTER TABLE `customer_addresses` ADD PRIMARY KEY (`id`); -- -- Indexes for table `delivery_histories` -- ALTER TABLE `delivery_histories` ADD PRIMARY KEY (`id`); -- -- Indexes for table `delivery_man_wallets` -- ALTER TABLE `delivery_man_wallets` ADD PRIMARY KEY (`id`); -- -- Indexes for table `delivery_men` -- ALTER TABLE `delivery_men` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `delivery_men_phone_unique` (`phone`); -- -- Indexes for table `discounts` -- ALTER TABLE `discounts` ADD PRIMARY KEY (`id`); -- -- Indexes for table `d_m_reviews` -- ALTER TABLE `d_m_reviews` ADD PRIMARY KEY (`id`); -- -- Indexes for table `email_verifications` -- ALTER TABLE `email_verifications` ADD PRIMARY KEY (`id`); -- -- Indexes for table `employee_roles` -- ALTER TABLE `employee_roles` ADD PRIMARY KEY (`id`); -- -- Indexes for table `failed_jobs` -- ALTER TABLE `failed_jobs` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `failed_jobs_uuid_unique` (`uuid`); -- -- Indexes for table `food` -- ALTER TABLE `food` ADD PRIMARY KEY (`id`); -- -- Indexes for table `item_campaigns` -- ALTER TABLE `item_campaigns` ADD PRIMARY KEY (`id`); -- -- Indexes for table `mail_configs` -- ALTER TABLE `mail_configs` ADD PRIMARY KEY (`id`); -- -- Indexes for table `migrations` -- ALTER TABLE `migrations` ADD PRIMARY KEY (`id`); -- -- Indexes for table `notifications` -- ALTER TABLE `notifications` ADD PRIMARY KEY (`id`); -- -- Indexes for table `oauth_access_tokens` -- ALTER TABLE `oauth_access_tokens` ADD PRIMARY KEY (`id`), ADD KEY `oauth_access_tokens_user_id_index` (`user_id`); -- -- Indexes for table `oauth_auth_codes` -- ALTER TABLE `oauth_auth_codes` ADD PRIMARY KEY (`id`), ADD KEY `oauth_auth_codes_user_id_index` (`user_id`); -- -- Indexes for table `oauth_clients` -- ALTER TABLE `oauth_clients` ADD PRIMARY KEY (`id`), ADD KEY `oauth_clients_user_id_index` (`user_id`); -- -- Indexes for table `oauth_personal_access_clients` -- ALTER TABLE `oauth_personal_access_clients` ADD PRIMARY KEY (`id`); -- -- Indexes for table `oauth_refresh_tokens` -- ALTER TABLE `oauth_refresh_tokens` ADD PRIMARY KEY (`id`), ADD KEY `oauth_refresh_tokens_access_token_id_index` (`access_token_id`); -- -- Indexes for table `orders` -- ALTER TABLE `orders` ADD PRIMARY KEY (`id`); -- -- Indexes for table `order_delivery_histories` -- ALTER TABLE `order_delivery_histories` ADD PRIMARY KEY (`id`); -- -- Indexes for table `order_details` -- ALTER TABLE `order_details` ADD PRIMARY KEY (`id`); -- -- Indexes for table `order_transactions` -- ALTER TABLE `order_transactions` ADD PRIMARY KEY (`id`); -- -- Indexes for table `password_resets` -- ALTER TABLE `password_resets` ADD KEY `password_resets_email_index` (`email`); -- -- Indexes for table `phone_verifications` -- ALTER TABLE `phone_verifications` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `phone_verifications_phone_unique` (`phone`); -- -- Indexes for table `provide_d_m_earnings` -- ALTER TABLE `provide_d_m_earnings` ADD PRIMARY KEY (`id`); -- -- Indexes for table `restaurants` -- ALTER TABLE `restaurants` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `restaurants_phone_unique` (`phone`); -- -- Indexes for table `restaurant_wallets` -- ALTER TABLE `restaurant_wallets` ADD PRIMARY KEY (`id`); -- -- Indexes for table `restaurant_zone` -- ALTER TABLE `restaurant_zone` ADD PRIMARY KEY (`id`); -- -- Indexes for table `reviews` -- ALTER TABLE `reviews` ADD PRIMARY KEY (`id`); -- -- Indexes for table `soft_credentials` -- ALTER TABLE `soft_credentials` ADD PRIMARY KEY (`id`); -- -- Indexes for table `track_deliverymen` -- ALTER TABLE `track_deliverymen` ADD PRIMARY KEY (`id`); -- -- Indexes for table `users` -- ALTER TABLE `users` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `users_phone_unique` (`phone`); -- -- Indexes for table `user_notifications` -- ALTER TABLE `user_notifications` ADD PRIMARY KEY (`id`); -- -- Indexes for table `vendors` -- ALTER TABLE `vendors` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `vendors_phone_unique` (`phone`), ADD UNIQUE KEY `vendors_email_unique` (`email`); -- -- Indexes for table `vendor_employees` -- ALTER TABLE `vendor_employees` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `vendor_employees_email_unique` (`email`); -- -- Indexes for table `wishlists` -- ALTER TABLE `wishlists` ADD PRIMARY KEY (`id`); -- -- Indexes for table `withdraw_requests` -- ALTER TABLE `withdraw_requests` ADD PRIMARY KEY (`id`); -- -- Indexes for table `zones` -- ALTER TABLE `zones` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `zones_name_unique` (`name`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `account_transactions` -- ALTER TABLE `account_transactions` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `add_ons` -- ALTER TABLE `add_ons` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `admins` -- ALTER TABLE `admins` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `admin_roles` -- ALTER TABLE `admin_roles` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT for table `admin_wallets` -- ALTER TABLE `admin_wallets` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `attributes` -- ALTER TABLE `attributes` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `banners` -- ALTER TABLE `banners` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `business_settings` -- ALTER TABLE `business_settings` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=65; -- -- AUTO_INCREMENT for table `campaigns` -- ALTER TABLE `campaigns` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `categories` -- ALTER TABLE `categories` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `conversations` -- ALTER TABLE `conversations` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `coupons` -- ALTER TABLE `coupons` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `currencies` -- ALTER TABLE `currencies` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=120; -- -- AUTO_INCREMENT for table `customer_addresses` -- ALTER TABLE `customer_addresses` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `delivery_histories` -- ALTER TABLE `delivery_histories` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `delivery_man_wallets` -- ALTER TABLE `delivery_man_wallets` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `delivery_men` -- ALTER TABLE `delivery_men` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `discounts` -- ALTER TABLE `discounts` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `d_m_reviews` -- ALTER TABLE `d_m_reviews` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `email_verifications` -- ALTER TABLE `email_verifications` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `employee_roles` -- ALTER TABLE `employee_roles` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `failed_jobs` -- ALTER TABLE `failed_jobs` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `food` -- ALTER TABLE `food` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `item_campaigns` -- ALTER TABLE `item_campaigns` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `mail_configs` -- ALTER TABLE `mail_configs` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `migrations` -- ALTER TABLE `migrations` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=188; -- -- AUTO_INCREMENT for table `notifications` -- ALTER TABLE `notifications` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `oauth_clients` -- ALTER TABLE `oauth_clients` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT for table `oauth_personal_access_clients` -- ALTER TABLE `oauth_personal_access_clients` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT for table `orders` -- ALTER TABLE `orders` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `order_delivery_histories` -- ALTER TABLE `order_delivery_histories` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `order_details` -- ALTER TABLE `order_details` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `order_transactions` -- ALTER TABLE `order_transactions` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `phone_verifications` -- ALTER TABLE `phone_verifications` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `provide_d_m_earnings` -- ALTER TABLE `provide_d_m_earnings` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `restaurants` -- ALTER TABLE `restaurants` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `restaurant_wallets` -- ALTER TABLE `restaurant_wallets` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `restaurant_zone` -- ALTER TABLE `restaurant_zone` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `reviews` -- ALTER TABLE `reviews` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `soft_credentials` -- ALTER TABLE `soft_credentials` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `track_deliverymen` -- ALTER TABLE `track_deliverymen` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `users` -- ALTER TABLE `users` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `user_notifications` -- ALTER TABLE `user_notifications` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `vendors` -- ALTER TABLE `vendors` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `vendor_employees` -- ALTER TABLE `vendor_employees` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `wishlists` -- ALTER TABLE `wishlists` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `withdraw_requests` -- ALTER TABLE `withdraw_requests` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `zones` -- ALTER TABLE `zones` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: premium166.web-hosting.com
Server IP: 162.0.209.40
PHP Version: 8.1.34
Server Software: LiteSpeed
System: Linux premium166.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
HDD Total: 97.87 GB
HDD Free: 75.28 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
No
pkexec:
No
git:
Yes
User Info
Username: kataubyb
User ID (UID): 624
Group ID (GID): 625
Script Owner UID: 624
Current Dir Owner: 624