daily commit
Showing
-- phpMyAdmin SQL Dump | -- phpMyAdmin SQL Dump | ||
-- version 4.7.9 | -- version 4.8.3 | ||
-- https://www.phpmyadmin.net/ | -- https://www.phpmyadmin.net/ | ||
-- | -- | ||
-- Host: 127.0.0.1:3306 | -- Host: db | ||
-- Generation Time: Dec 16, 2018 at 04:01 PM | -- Generation Time: Dec 17, 2018 at 12:46 PM | ||
-- Server version: 5.7.21 | -- Server version: 5.6.41 | ||
-- PHP Version: 5.6.35 | -- PHP Version: 7.2.8 | ||
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; | SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; | ||
SET AUTOCOMMIT = 0; | SET AUTOCOMMIT = 0; | ||
... | @@ -28,17 +28,15 @@ SET time_zone = "+00:00"; | ... | @@ -28,17 +28,15 @@ SET time_zone = "+00:00"; |
-- Table structure for table `admin_users` | -- Table structure for table `admin_users` | ||
-- | -- | ||
DROP TABLE IF EXISTS `admin_users`; | CREATE TABLE `admin_users` ( | ||
CREATE TABLE IF NOT EXISTS `admin_users` ( | `id` int(11) NOT NULL, | ||
`id` int(11) NOT NULL AUTO_INCREMENT, | |||
`username` varchar(100) NOT NULL, | `username` varchar(100) NOT NULL, | ||
`password` varchar(100) NOT NULL, | `password` varchar(100) NOT NULL, | ||
`user_type` tinyint(3) NOT NULL COMMENT '1 => Super Admin, 2 => Mechanic', | `user_type` tinyint(3) NOT NULL COMMENT '1 => Super Admin, 2 => Mechanic', | ||
`display_name` varchar(200) NOT NULL, | `display_name` varchar(200) NOT NULL, | ||
`profile_image` varchar(500) NOT NULL, | `profile_image` varchar(500) NOT NULL, | ||
`status` tinyint(4) NOT NULL DEFAULT '1', | `status` tinyint(4) NOT NULL DEFAULT '1' | ||
PRIMARY KEY (`id`) | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; | ||
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=latin1; | |||
-- | -- | ||
-- Dumping data for table `admin_users` | -- Dumping data for table `admin_users` | ||
... | @@ -56,9 +54,8 @@ INSERT INTO `admin_users` (`id`, `username`, `password`, `user_type`, `display_n | ... | @@ -56,9 +54,8 @@ INSERT INTO `admin_users` (`id`, `username`, `password`, `user_type`, `display_n |
-- Table structure for table `customers` | -- Table structure for table `customers` | ||
-- | -- | ||
DROP TABLE IF EXISTS `customers`; | CREATE TABLE `customers` ( | ||
CREATE TABLE IF NOT EXISTS `customers` ( | `customer_id` int(20) NOT NULL, | ||
`customer_id` int(20) NOT NULL AUTO_INCREMENT, | |||
`first_name` varchar(50) NOT NULL, | `first_name` varchar(50) NOT NULL, | ||
`last_name` varchar(50) NOT NULL, | `last_name` varchar(50) NOT NULL, | ||
`phone` varchar(20) DEFAULT NULL, | `phone` varchar(20) DEFAULT NULL, | ||
... | @@ -67,16 +64,17 @@ CREATE TABLE IF NOT EXISTS `customers` ( | ... | @@ -67,16 +64,17 @@ CREATE TABLE IF NOT EXISTS `customers` ( |
`profile_image` varchar(500) DEFAULT NULL, | `profile_image` varchar(500) DEFAULT NULL, | ||
`password` varchar(50) DEFAULT NULL, | `password` varchar(50) DEFAULT NULL, | ||
`date_of_birth` varchar(200) DEFAULT NULL, | `date_of_birth` varchar(200) DEFAULT NULL, | ||
`status` tinyint(3) NOT NULL DEFAULT '1', | `status` tinyint(3) NOT NULL DEFAULT '1' | ||
PRIMARY KEY (`customer_id`) | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; | ||
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; | |||
-- | -- | ||
-- Dumping data for table `customers` | -- Dumping data for table `customers` | ||
-- | -- | ||
INSERT INTO `customers` (`customer_id`, `first_name`, `last_name`, `phone`, `email`, `address`, `profile_image`, `password`, `date_of_birth`, `status`) VALUES | INSERT INTO `customers` (`customer_id`, `first_name`, `last_name`, `phone`, `email`, `address`, `profile_image`, `password`, `date_of_birth`, `status`) VALUES | ||
(1, 'Tobin', 'Thomas', '9995559194', '[email protected]', 'Techware', 'assets/uploads/services/1544417044_sniper.jpg', NULL, '05/05/1994', 1); | (1, 'Tobin', 'Thomas', '9995559194', '[email protected]', 'Techware', 'assets/uploads/services/1544417044_sniper.jpg', NULL, '05/05/1994', 1), | ||
(2, 'Tobin', 'Thomas', '99955752194', '[email protected]', 'Techware', 'assets/uploads/services/1545036793_car1.jpg', NULL, '12/20/2018', 1), | |||
(3, 'Tobin', 'Thomas', '9993242394', '[email protected]', 'Techware', 'assets/uploads/services/1545037023_images.jpg', NULL, '12/11/2018', 1); | |||
-- -------------------------------------------------------- | -- -------------------------------------------------------- | ||
... | @@ -84,9 +82,8 @@ INSERT INTO `customers` (`customer_id`, `first_name`, `last_name`, `phone`, `ema | ... | @@ -84,9 +82,8 @@ INSERT INTO `customers` (`customer_id`, `first_name`, `last_name`, `phone`, `ema |
-- Table structure for table `customer_vehicle` | -- Table structure for table `customer_vehicle` | ||
-- | -- | ||
DROP TABLE IF EXISTS `customer_vehicle`; | CREATE TABLE `customer_vehicle` ( | ||
CREATE TABLE IF NOT EXISTS `customer_vehicle` ( | `customer_veh_id` int(11) NOT NULL, | ||
`customer_veh_id` int(11) NOT NULL AUTO_INCREMENT, | |||
`customer_id` int(11) DEFAULT NULL, | `customer_id` int(11) DEFAULT NULL, | ||
`car_name` varchar(250) DEFAULT NULL, | `car_name` varchar(250) DEFAULT NULL, | ||
`car_model` varchar(150) DEFAULT NULL, | `car_model` varchar(150) DEFAULT NULL, | ||
... | @@ -98,26 +95,25 @@ CREATE TABLE IF NOT EXISTS `customer_vehicle` ( | ... | @@ -98,26 +95,25 @@ CREATE TABLE IF NOT EXISTS `customer_vehicle` ( |
`car_loc_lat` varchar(150) DEFAULT NULL, | `car_loc_lat` varchar(150) DEFAULT NULL, | ||
`car_loc_lng` varchar(150) DEFAULT NULL, | `car_loc_lng` varchar(150) DEFAULT NULL, | ||
`created_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, | `created_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, | ||
`status` tinyint(3) NOT NULL DEFAULT '3', | `status` tinyint(3) NOT NULL DEFAULT '3' | ||
PRIMARY KEY (`customer_veh_id`) | ) ENGINE=MyISAM DEFAULT CHARSET=latin1; | ||
) ENGINE=MyISAM AUTO_INCREMENT=25 DEFAULT CHARSET=latin1; | |||
-- | -- | ||
-- Dumping data for table `customer_vehicle` | -- Dumping data for table `customer_vehicle` | ||
-- | -- | ||
INSERT INTO `customer_vehicle` (`customer_veh_id`, `customer_id`, `car_name`, `car_model`, `car_maker`, `car_model_year`, `car_vin`, `vehicle_data`, `car_location`, `car_loc_lat`, `car_loc_lng`, `created_date`, `status`) VALUES | INSERT INTO `customer_vehicle` (`customer_veh_id`, `customer_id`, `car_name`, `car_model`, `car_maker`, `car_model_year`, `car_vin`, `vehicle_data`, `car_location`, `car_loc_lat`, `car_loc_lng`, `created_date`, `status`) VALUES | ||
(11, NULL, '2008 Hyundai Sonata GLS', 'sonata', 'hyundai', '2008', NULL, '{\"vehicle\":\"2008 Hyundai Sonata GLS\",\"attributes\":{\"Year\":\"2008\",\"Make\":\"Hyundai\",\"Model\":\"Sonata\",\"Trim\":\"GLS\",\"Short Trim\":\"GLS\",\"Trim Variations\":\"GLS\",\"Made In\":\"United States\",\"Vehicle Style\":\"Sedan (4-Door)\",\"Vehicle Type\":\"Car\",\"Vehicle Size\":\"Midsize\",\"Vehicle Category\":\"Large Cars\",\"Doors\":\"4\",\"Fuel Type\":\"Regular Unleaded\",\"Fuel Capacity\":\"17.7 gallon\",\"City Mileage\":\"21 miles\\/gallon\",\"Highway Mileage\":\"30 - 31 miles\\/gallon\",\"Engine\":\"2.4L L4 DOHC 16V\",\"Engine Size\":\"2.4\",\"Engine Cylinders\":\"4\",\"Transmission Type\":\"Automatic\",\"Transmission Gears\":\"4\",\"Driven Wheels\":\"Front Wheel Drive\",\"Anti-Brake System\":\"4-Wheel ABS\",\"Steering Type\":\"R&P\",\"Curb Weight\":\"3266\",\"Gross Weight\":\"\",\"Overall Height\":\"58.00 inches\",\"Overall Length\":\"188.90 inches\",\"Overall Width\":\"72.10 inches\",\"Standard Seating\":\"5\",\"Optional Seating\":\"\",\"Invoice Price\":\"$18,083\",\"Delivery Charges\":\"$675\",\"MSRP\":\"$18,870\"},\"success\":true,\"error\":\"\"}', 'DFW International Airport (DFW), Aviation Drive, DFW Airport, TX, USA', '32.8555236', '-97.03887', '2018-12-16 13:56:12', 3), | (9, NULL, '2015 Hyundai Sonata SE', 'sonata', 'hyundai', '2015', NULL, '{\"vehicle\":\"2015 Hyundai Sonata SE\",\"attributes\":{\"Year\":\"2015\",\"Make\":\"Hyundai\",\"Model\":\"Sonata\",\"Trim\":\"SE\",\"Short Trim\":\"SE\",\"Trim Variations\":\"SE \\/ SE PZEV\",\"Made In\":\"United States\",\"Vehicle Style\":\"Sedan (4-Door)\",\"Vehicle Type\":\"Car\",\"Vehicle Size\":\"Midsize\",\"Vehicle Category\":\"Large Cars\",\"Doors\":\"4\",\"Fuel Type\":\"Regular Unleaded\",\"Fuel Capacity\":\"18.5 gallon\",\"City Mileage\":\"25 miles\\/gallon\",\"Highway Mileage\":\"37 miles\\/gallon\",\"Engine\":\"2.4L L4 DOHC 16V\",\"Engine Size\":\"2.4\",\"Engine Cylinders\":\"4\",\"Transmission Type\":\"Automatic\",\"Transmission Gears\":\"6\",\"Driven Wheels\":\"Front Wheel Drive\",\"Anti-Brake System\":\"4-Wheel ABS\",\"Steering Type\":\"R&P\",\"Curb Weight\":\"3252\",\"Gross Weight\":\"\",\"Overall Height\":\"58.10 inches\",\"Overall Length\":\"191.10 inches\",\"Overall Width\":\"73.40 inches\",\"Standard Seating\":\"5\",\"Optional Seating\":\"\",\"Invoice Price\":\"$20,295\",\"Delivery Charges\":\"$825\",\"MSRP\":\"$21,150\"},\"success\":true,\"error\":\"\"}', 'FL, USA', '27.6648274', '-81.5157535', '2018-12-17 10:11:03', 3), | ||
(14, NULL, '2018 Hyundai Sonata Sport', 'sonata', 'hyundai', '2018', NULL, '{\"vehicle\":\"2018 Hyundai Sonata Sport\",\"attributes\":{\"Year\":\"2018\",\"Make\":\"Hyundai\",\"Model\":\"Sonata\",\"Trim\":\"Sport\",\"Short Trim\":\"SEL\",\"Trim Variations\":\"SEL \\/ Limited SULEV \\/ Sport \\/ Limited \\/ SEL SULEV\",\"Made In\":\"United States\",\"Vehicle Style\":\"Sedan (4-Door)\",\"Vehicle Type\":\"Passenger Car\",\"Vehicle Size\":\"\",\"Vehicle Category\":\"\",\"Doors\":\"4\",\"Fuel Type\":\"Gasoline\",\"Fuel Capacity\":\"\",\"City Mileage\":\"\",\"Highway Mileage\":\"\",\"Engine\":\"GDI THETA-II\",\"Engine Size\":\"2.4\",\"Engine Cylinders\":\"4\",\"Transmission Type\":\"\",\"Transmission Gears\":\"\",\"Driven Wheels\":\"\",\"Anti-Brake System\":\"\",\"Steering Type\":\"\",\"Curb Weight\":\"\",\"Gross Weight\":\"\",\"Overall Height\":\"\",\"Overall Length\":\"\",\"Overall Width\":\"\",\"Standard Seating\":\"\",\"Optional Seating\":\"\",\"Invoice Price\":\"\",\"Delivery Charges\":\"\",\"MSRP\":\"\"},\"success\":true,\"error\":\"\"}', 'Dilworth-glyndon-felton, MN, USA', '46.9858777', '-96.5887048', '2018-12-16 15:23:51', 3), | (10, NULL, '2015 Hyundai Sonata SE', 'sonata', 'hyundai', '2015', NULL, '{\"vehicle\":\"2015 Hyundai Sonata SE\",\"attributes\":{\"Year\":\"2015\",\"Make\":\"Hyundai\",\"Model\":\"Sonata\",\"Trim\":\"SE\",\"Short Trim\":\"SE\",\"Trim Variations\":\"SE \\/ SE PZEV\",\"Made In\":\"United States\",\"Vehicle Style\":\"Sedan (4-Door)\",\"Vehicle Type\":\"Car\",\"Vehicle Size\":\"Midsize\",\"Vehicle Category\":\"Large Cars\",\"Doors\":\"4\",\"Fuel Type\":\"Regular Unleaded\",\"Fuel Capacity\":\"18.5 gallon\",\"City Mileage\":\"25 miles\\/gallon\",\"Highway Mileage\":\"37 miles\\/gallon\",\"Engine\":\"2.4L L4 DOHC 16V\",\"Engine Size\":\"2.4\",\"Engine Cylinders\":\"4\",\"Transmission Type\":\"Automatic\",\"Transmission Gears\":\"6\",\"Driven Wheels\":\"Front Wheel Drive\",\"Anti-Brake System\":\"4-Wheel ABS\",\"Steering Type\":\"R&P\",\"Curb Weight\":\"3252\",\"Gross Weight\":\"\",\"Overall Height\":\"58.10 inches\",\"Overall Length\":\"191.10 inches\",\"Overall Width\":\"73.40 inches\",\"Standard Seating\":\"5\",\"Optional Seating\":\"\",\"Invoice Price\":\"$20,295\",\"Delivery Charges\":\"$825\",\"MSRP\":\"$21,150\"},\"success\":true,\"error\":\"\"}', 'FL, USA', '27.6648274', '-81.5157535', '2018-12-17 10:11:08', 3), | ||
(15, NULL, '2018 Hyundai Sonata Sport', 'sonata', 'hyundai', '2018', NULL, '{\"vehicle\":\"2018 Hyundai Sonata Sport\",\"attributes\":{\"Year\":\"2018\",\"Make\":\"Hyundai\",\"Model\":\"Sonata\",\"Trim\":\"Sport\",\"Short Trim\":\"SEL\",\"Trim Variations\":\"SEL \\/ Limited SULEV \\/ Sport \\/ Limited \\/ SEL SULEV\",\"Made In\":\"United States\",\"Vehicle Style\":\"Sedan (4-Door)\",\"Vehicle Type\":\"Passenger Car\",\"Vehicle Size\":\"\",\"Vehicle Category\":\"\",\"Doors\":\"4\",\"Fuel Type\":\"Gasoline\",\"Fuel Capacity\":\"\",\"City Mileage\":\"\",\"Highway Mileage\":\"\",\"Engine\":\"GDI THETA-II\",\"Engine Size\":\"2.4\",\"Engine Cylinders\":\"4\",\"Transmission Type\":\"\",\"Transmission Gears\":\"\",\"Driven Wheels\":\"\",\"Anti-Brake System\":\"\",\"Steering Type\":\"\",\"Curb Weight\":\"\",\"Gross Weight\":\"\",\"Overall Height\":\"\",\"Overall Length\":\"\",\"Overall Width\":\"\",\"Standard Seating\":\"\",\"Optional Seating\":\"\",\"Invoice Price\":\"\",\"Delivery Charges\":\"\",\"MSRP\":\"\"},\"success\":true,\"error\":\"\"}', 'Ghirardelli Square, North Point Street, San Francisco, CA, USA', '37.8058763', '-122.4229502', '2018-12-16 15:27:09', 3), | (11, 2, '2016 Hyundai Sonata SE', 'sonata', 'hyundai', '2016', NULL, '{\"vehicle\":\"2016 Hyundai Sonata SE\",\"attributes\":{\"Year\":\"2016\",\"Make\":\"Hyundai\",\"Model\":\"Sonata\",\"Trim\":\"SE\",\"Short Trim\":\"SE\",\"Trim Variations\":\"SE\",\"Made In\":\"United States\",\"Vehicle Style\":\"Sedan (4-Door)\",\"Vehicle Type\":\"Car\",\"Vehicle Size\":\"Midsize\",\"Vehicle Category\":\"Large Cars\",\"Doors\":\"4\",\"Fuel Type\":\"Regular Unleaded\",\"Fuel Capacity\":\"18.5 gallon\",\"City Mileage\":\"25 miles\\/gallon\",\"Highway Mileage\":\"38 miles\\/gallon\",\"Engine\":\"2.4L L4 DOHC 16V\",\"Engine Size\":\"2.4\",\"Engine Cylinders\":\"4\",\"Transmission Type\":\"Automatic\",\"Transmission Gears\":\"6\",\"Driven Wheels\":\"Front Wheel Drive\",\"Anti-Brake System\":\"4-Wheel ABS\",\"Steering Type\":\"R&P\",\"Curb Weight\":\"3252\",\"Gross Weight\":\"\",\"Overall Height\":\"58.10 inches\",\"Overall Length\":\"191.10 inches\",\"Overall Width\":\"73.40 inches\",\"Standard Seating\":\"5\",\"Optional Seating\":\"\",\"Invoice Price\":\"$20,859\",\"Delivery Charges\":\"$835\",\"MSRP\":\"$21,750\"},\"success\":true,\"error\":\"\"}', 'San Francisco, CA, USA', '37.7749295', '-122.4194155', '2018-12-17 10:17:53', 1), | ||
(16, NULL, '2018 Hyundai Sonata Sport', 'sonata', 'hyundai', '2018', NULL, '{\"vehicle\":\"2018 Hyundai Sonata Sport\",\"attributes\":{\"Year\":\"2018\",\"Make\":\"Hyundai\",\"Model\":\"Sonata\",\"Trim\":\"Sport\",\"Short Trim\":\"SEL\",\"Trim Variations\":\"SEL \\/ Limited SULEV \\/ Sport \\/ Limited \\/ SEL SULEV\",\"Made In\":\"United States\",\"Vehicle Style\":\"Sedan (4-Door)\",\"Vehicle Type\":\"Passenger Car\",\"Vehicle Size\":\"\",\"Vehicle Category\":\"\",\"Doors\":\"4\",\"Fuel Type\":\"Gasoline\",\"Fuel Capacity\":\"\",\"City Mileage\":\"\",\"Highway Mileage\":\"\",\"Engine\":\"GDI THETA-II\",\"Engine Size\":\"2.4\",\"Engine Cylinders\":\"4\",\"Transmission Type\":\"\",\"Transmission Gears\":\"\",\"Driven Wheels\":\"\",\"Anti-Brake System\":\"\",\"Steering Type\":\"\",\"Curb Weight\":\"\",\"Gross Weight\":\"\",\"Overall Height\":\"\",\"Overall Length\":\"\",\"Overall Width\":\"\",\"Standard Seating\":\"\",\"Optional Seating\":\"\",\"Invoice Price\":\"\",\"Delivery Charges\":\"\",\"MSRP\":\"\"},\"success\":true,\"error\":\"\"}', 'FDR Drive, Brooklyn, NY, USA', '40.7100593', '-73.9894836', '2018-12-16 15:29:43', 3), | (3, NULL, '2011 Hyundai Sonata GLS', 'sonata', 'hyundai', '2011', NULL, '{\"vehicle\":\"2011 Hyundai Sonata GLS\",\"attributes\":{\"Year\":\"2011\",\"Make\":\"Hyundai\",\"Model\":\"Sonata\",\"Trim\":\"GLS\",\"Short Trim\":\"GLS\",\"Trim Variations\":\"GLS PZEV \\/ GLS\",\"Made In\":\"United States\",\"Vehicle Style\":\"Sedan (4-Door)\",\"Vehicle Type\":\"Car\",\"Vehicle Size\":\"Midsize\",\"Vehicle Category\":\"Large Cars\",\"Doors\":\"4\",\"Fuel Type\":\"Regular Unleaded\",\"Fuel Capacity\":\"18.5 gallon\",\"City Mileage\":\"22 miles\\/gallon\",\"Highway Mileage\":\"35 miles\\/gallon\",\"Engine\":\"2.4L L4 DOHC 16V\",\"Engine Size\":\"2.4\",\"Engine Cylinders\":\"4\",\"Transmission Type\":\"Automatic\",\"Transmission Gears\":\"6\",\"Driven Wheels\":\"Front Wheel Drive\",\"Anti-Brake System\":\"4-Wheel ABS\",\"Steering Type\":\"R&P\",\"Curb Weight\":\"\",\"Gross Weight\":\"\",\"Overall Height\":\"57.90 inches\",\"Overall Length\":\"189.80 inches\",\"Overall Width\":\"72.20 inches\",\"Standard Seating\":\"5\",\"Optional Seating\":\"\",\"Invoice Price\":\"$19,538\",\"Delivery Charges\":\"$750\",\"MSRP\":\"$20,395\"},\"success\":true,\"error\":\"\"}', '439 Boylston Street, Boston, MA, USA', '42.351495', '-71.072925', '2018-12-17 08:55:52', 3), | ||
(17, NULL, '2018 Hyundai Sonata Sport', 'sonata', 'hyundai', '2018', NULL, '{\"vehicle\":\"2018 Hyundai Sonata Sport\",\"attributes\":{\"Year\":\"2018\",\"Make\":\"Hyundai\",\"Model\":\"Sonata\",\"Trim\":\"Sport\",\"Short Trim\":\"SEL\",\"Trim Variations\":\"SEL \\/ Limited SULEV \\/ Sport \\/ Limited \\/ SEL SULEV\",\"Made In\":\"United States\",\"Vehicle Style\":\"Sedan (4-Door)\",\"Vehicle Type\":\"Passenger Car\",\"Vehicle Size\":\"\",\"Vehicle Category\":\"\",\"Doors\":\"4\",\"Fuel Type\":\"Gasoline\",\"Fuel Capacity\":\"\",\"City Mileage\":\"\",\"Highway Mileage\":\"\",\"Engine\":\"GDI THETA-II\",\"Engine Size\":\"2.4\",\"Engine Cylinders\":\"4\",\"Transmission Type\":\"\",\"Transmission Gears\":\"\",\"Driven Wheels\":\"\",\"Anti-Brake System\":\"\",\"Steering Type\":\"\",\"Curb Weight\":\"\",\"Gross Weight\":\"\",\"Overall Height\":\"\",\"Overall Length\":\"\",\"Overall Width\":\"\",\"Standard Seating\":\"\",\"Optional Seating\":\"\",\"Invoice Price\":\"\",\"Delivery Charges\":\"\",\"MSRP\":\"\"},\"success\":true,\"error\":\"\"}', 'FGCU Boulevard South, Fort Myers, FL, USA', '26.4604871', '-81.7715028', '2018-12-16 15:37:55', 3), | (4, 3, '2015 Hyundai Sonata SE', 'sonata', 'hyundai', '2015', NULL, '{\"vehicle\":\"2015 Hyundai Sonata SE\",\"attributes\":{\"Year\":\"2015\",\"Make\":\"Hyundai\",\"Model\":\"Sonata\",\"Trim\":\"SE\",\"Short Trim\":\"SE\",\"Trim Variations\":\"SE \\/ SE PZEV\",\"Made In\":\"United States\",\"Vehicle Style\":\"Sedan (4-Door)\",\"Vehicle Type\":\"Car\",\"Vehicle Size\":\"Midsize\",\"Vehicle Category\":\"Large Cars\",\"Doors\":\"4\",\"Fuel Type\":\"Regular Unleaded\",\"Fuel Capacity\":\"18.5 gallon\",\"City Mileage\":\"25 miles\\/gallon\",\"Highway Mileage\":\"37 miles\\/gallon\",\"Engine\":\"2.4L L4 DOHC 16V\",\"Engine Size\":\"2.4\",\"Engine Cylinders\":\"4\",\"Transmission Type\":\"Automatic\",\"Transmission Gears\":\"6\",\"Driven Wheels\":\"Front Wheel Drive\",\"Anti-Brake System\":\"4-Wheel ABS\",\"Steering Type\":\"R&P\",\"Curb Weight\":\"3252\",\"Gross Weight\":\"\",\"Overall Height\":\"58.10 inches\",\"Overall Length\":\"191.10 inches\",\"Overall Width\":\"73.40 inches\",\"Standard Seating\":\"5\",\"Optional Seating\":\"\",\"Invoice Price\":\"$20,295\",\"Delivery Charges\":\"$825\",\"MSRP\":\"$21,150\"},\"success\":true,\"error\":\"\"}', 'RI, USA', '41.5800945', '-71.4774291', '2018-12-17 08:56:55', 1), | ||
(18, NULL, '2018 Hyundai Sonata Sport', 'sonata', 'hyundai', '2018', NULL, '{\"vehicle\":\"2018 Hyundai Sonata Sport\",\"attributes\":{\"Year\":\"2018\",\"Make\":\"Hyundai\",\"Model\":\"Sonata\",\"Trim\":\"Sport\",\"Short Trim\":\"SEL\",\"Trim Variations\":\"SEL \\/ Limited SULEV \\/ Sport \\/ Limited \\/ SEL SULEV\",\"Made In\":\"United States\",\"Vehicle Style\":\"Sedan (4-Door)\",\"Vehicle Type\":\"Passenger Car\",\"Vehicle Size\":\"\",\"Vehicle Category\":\"\",\"Doors\":\"4\",\"Fuel Type\":\"Gasoline\",\"Fuel Capacity\":\"\",\"City Mileage\":\"\",\"Highway Mileage\":\"\",\"Engine\":\"GDI THETA-II\",\"Engine Size\":\"2.4\",\"Engine Cylinders\":\"4\",\"Transmission Type\":\"\",\"Transmission Gears\":\"\",\"Driven Wheels\":\"\",\"Anti-Brake System\":\"\",\"Steering Type\":\"\",\"Curb Weight\":\"\",\"Gross Weight\":\"\",\"Overall Height\":\"\",\"Overall Length\":\"\",\"Overall Width\":\"\",\"Standard Seating\":\"\",\"Optional Seating\":\"\",\"Invoice Price\":\"\",\"Delivery Charges\":\"\",\"MSRP\":\"\"},\"success\":true,\"error\":\"\"}', '6679A Broadway, Bronx, NY, USA', '40.9107395', '-73.8968306', '2018-12-16 15:40:57', 3), | (13, NULL, '2017 Hyundai Sonata SE', 'sonata', 'hyundai', '2017', NULL, '{\"vehicle\":\"2017 Hyundai Sonata SE\",\"attributes\":{\"Year\":\"2017\",\"Make\":\"Hyundai\",\"Model\":\"Sonata\",\"Trim\":\"SE\",\"Short Trim\":\"SE\",\"Trim Variations\":\"Base PZEV \\/ Base \\/ SE PZEV \\/ SE \\/ Eco \\/ Sport \\/ Limited \\/ Sport 2.0T \\/ Limited 2.0T\",\"Made In\":\"United States\",\"Vehicle Style\":\"Sedan (4-Door)\",\"Vehicle Type\":\"Car\",\"Vehicle Size\":\"Midsize\",\"Vehicle Category\":\"Large Cars\",\"Doors\":\"4\",\"Fuel Type\":\"Regular Unleaded\",\"Fuel Capacity\":\"18.5 gallon\",\"City Mileage\":\"25 miles\\/gallon\",\"Highway Mileage\":\"36 miles\\/gallon\",\"Engine\":\"2.4L L4 DOHC 16V\",\"Engine Size\":\"2.4\",\"Engine Cylinders\":\"4\",\"Transmission Type\":\"Automatic\",\"Transmission Gears\":\"6\",\"Driven Wheels\":\"Front Wheel Drive\",\"Anti-Brake System\":\"4-Wheel ABS\",\"Steering Type\":\"R&P\",\"Curb Weight\":\"3252\",\"Gross Weight\":\"\",\"Overall Height\":\"58.10 inches\",\"Overall Length\":\"191.10 inches\",\"Overall Width\":\"73.40 inches\",\"Standard Seating\":\"5\",\"Optional Seating\":\"\",\"Invoice Price\":\"$21,047\",\"Delivery Charges\":\"$835\",\"MSRP\":\"$21,950\"},\"success\":true,\"error\":\"\"}', 'H F Shepherd Drive, Decatur, GA, USA', '33.7119197', '-84.2785545', '2018-12-17 10:26:37', 3), | ||
(19, NULL, '2017 Hyundai Sonata SE', 'sonata', 'hyundai', '2017', NULL, '{\"vehicle\":\"2017 Hyundai Sonata SE\",\"attributes\":{\"Year\":\"2017\",\"Make\":\"Hyundai\",\"Model\":\"Sonata\",\"Trim\":\"SE\",\"Short Trim\":\"SE\",\"Trim Variations\":\"Base PZEV \\/ Base \\/ SE PZEV \\/ SE \\/ Eco \\/ Sport \\/ Limited \\/ Sport 2.0T \\/ Limited 2.0T\",\"Made In\":\"United States\",\"Vehicle Style\":\"Sedan (4-Door)\",\"Vehicle Type\":\"Car\",\"Vehicle Size\":\"Midsize\",\"Vehicle Category\":\"Large Cars\",\"Doors\":\"4\",\"Fuel Type\":\"Regular Unleaded\",\"Fuel Capacity\":\"18.5 gallon\",\"City Mileage\":\"25 miles\\/gallon\",\"Highway Mileage\":\"36 miles\\/gallon\",\"Engine\":\"2.4L L4 DOHC 16V\",\"Engine Size\":\"2.4\",\"Engine Cylinders\":\"4\",\"Transmission Type\":\"Automatic\",\"Transmission Gears\":\"6\",\"Driven Wheels\":\"Front Wheel Drive\",\"Anti-Brake System\":\"4-Wheel ABS\",\"Steering Type\":\"R&P\",\"Curb Weight\":\"3252\",\"Gross Weight\":\"\",\"Overall Height\":\"58.10 inches\",\"Overall Length\":\"191.10 inches\",\"Overall Width\":\"73.40 inches\",\"Standard Seating\":\"5\",\"Optional Seating\":\"\",\"Invoice Price\":\"$21,047\",\"Delivery Charges\":\"$835\",\"MSRP\":\"$21,950\"},\"success\":true,\"error\":\"\"}', 'SDF airport (SDF), Terminal Drive, Louisville, KY, USA', '38.175662', '-85.7369231', '2018-12-16 15:42:04', 3), | (14, NULL, '2012 Hyundai Sonata SE', 'sonata', 'hyundai', '2012', NULL, '{\"vehicle\":\"2012 Hyundai Sonata SE\",\"attributes\":{\"Year\":\"2012\",\"Make\":\"Hyundai\",\"Model\":\"Sonata\",\"Trim\":\"SE\",\"Short Trim\":\"SE\",\"Trim Variations\":\"SE\",\"Made In\":\"United States\",\"Vehicle Style\":\"Sedan (4-Door)\",\"Vehicle Type\":\"Car\",\"Vehicle Size\":\"Midsize\",\"Vehicle Category\":\"Large Cars\",\"Doors\":\"4\",\"Fuel Type\":\"Regular Unleaded\",\"Fuel Capacity\":\"18.5 gallon\",\"City Mileage\":\"24 miles\\/gallon\",\"Highway Mileage\":\"35 miles\\/gallon\",\"Engine\":\"2.4L L4 DOHC 16V\",\"Engine Size\":\"2.4\",\"Engine Cylinders\":\"4\",\"Transmission Type\":\"Automatic\",\"Transmission Gears\":\"6\",\"Driven Wheels\":\"Front Wheel Drive\",\"Anti-Brake System\":\"4-Wheel ABS\",\"Steering Type\":\"R&P\",\"Curb Weight\":\"\",\"Gross Weight\":\"\",\"Overall Height\":\"57.90 inches\",\"Overall Length\":\"189.80 inches\",\"Overall Width\":\"72.20 inches\",\"Standard Seating\":\"5\",\"Optional Seating\":\"\",\"Invoice Price\":\"$24,725\",\"Delivery Charges\":\"$775\",\"MSRP\":\"$26,445\"},\"success\":true,\"error\":\"\"}', 'FDR Drive, Brooklyn, NY, USA', '40.7100593', '-73.9894836', '2018-12-17 10:30:06', 3), | ||
(20, NULL, '2018 Hyundai Sonata Sport', 'sonata', 'hyundai', '2018', NULL, '{\"vehicle\":\"2018 Hyundai Sonata Sport\",\"attributes\":{\"Year\":\"2018\",\"Make\":\"Hyundai\",\"Model\":\"Sonata\",\"Trim\":\"Sport\",\"Short Trim\":\"SEL\",\"Trim Variations\":\"SEL \\/ Limited SULEV \\/ Sport \\/ Limited \\/ SEL SULEV\",\"Made In\":\"United States\",\"Vehicle Style\":\"Sedan (4-Door)\",\"Vehicle Type\":\"Passenger Car\",\"Vehicle Size\":\"\",\"Vehicle Category\":\"\",\"Doors\":\"4\",\"Fuel Type\":\"Gasoline\",\"Fuel Capacity\":\"\",\"City Mileage\":\"\",\"Highway Mileage\":\"\",\"Engine\":\"GDI THETA-II\",\"Engine Size\":\"2.4\",\"Engine Cylinders\":\"4\",\"Transmission Type\":\"\",\"Transmission Gears\":\"\",\"Driven Wheels\":\"\",\"Anti-Brake System\":\"\",\"Steering Type\":\"\",\"Curb Weight\":\"\",\"Gross Weight\":\"\",\"Overall Height\":\"\",\"Overall Length\":\"\",\"Overall Width\":\"\",\"Standard Seating\":\"\",\"Optional Seating\":\"\",\"Invoice Price\":\"\",\"Delivery Charges\":\"\",\"MSRP\":\"\"},\"success\":true,\"error\":\"\"}', '2615 Massachusetts Avenue, Cambridge, MA, USA', '42.4010983', '-71.1352662', '2018-12-16 15:47:53', 3), | (15, NULL, '2017 Hyundai Sonata SE', 'sonata', 'hyundai', '2017', NULL, '{\"vehicle\":\"2017 Hyundai Sonata SE\",\"attributes\":{\"Year\":\"2017\",\"Make\":\"Hyundai\",\"Model\":\"Sonata\",\"Trim\":\"SE\",\"Short Trim\":\"SE\",\"Trim Variations\":\"Base PZEV \\/ Base \\/ SE PZEV \\/ SE \\/ Eco \\/ Sport \\/ Limited \\/ Sport 2.0T \\/ Limited 2.0T\",\"Made In\":\"United States\",\"Vehicle Style\":\"Sedan (4-Door)\",\"Vehicle Type\":\"Car\",\"Vehicle Size\":\"Midsize\",\"Vehicle Category\":\"Large Cars\",\"Doors\":\"4\",\"Fuel Type\":\"Regular Unleaded\",\"Fuel Capacity\":\"18.5 gallon\",\"City Mileage\":\"25 miles\\/gallon\",\"Highway Mileage\":\"36 miles\\/gallon\",\"Engine\":\"2.4L L4 DOHC 16V\",\"Engine Size\":\"2.4\",\"Engine Cylinders\":\"4\",\"Transmission Type\":\"Automatic\",\"Transmission Gears\":\"6\",\"Driven Wheels\":\"Front Wheel Drive\",\"Anti-Brake System\":\"4-Wheel ABS\",\"Steering Type\":\"R&P\",\"Curb Weight\":\"3252\",\"Gross Weight\":\"\",\"Overall Height\":\"58.10 inches\",\"Overall Length\":\"191.10 inches\",\"Overall Width\":\"73.40 inches\",\"Standard Seating\":\"5\",\"Optional Seating\":\"\",\"Invoice Price\":\"$21,047\",\"Delivery Charges\":\"$835\",\"MSRP\":\"$21,950\"},\"success\":true,\"error\":\"\"}', 'DfR Solutions, Virginia Manor Road, Beltsville, MD, USA', '39.063356', '-76.893169', '2018-12-17 10:33:05', 3), | ||
(21, NULL, '2018 Hyundai Sonata Sport', 'sonata', 'hyundai', '2018', NULL, '{\"vehicle\":\"2018 Hyundai Sonata Sport\",\"attributes\":{\"Year\":\"2018\",\"Make\":\"Hyundai\",\"Model\":\"Sonata\",\"Trim\":\"Sport\",\"Short Trim\":\"SEL\",\"Trim Variations\":\"SEL \\/ Limited SULEV \\/ Sport \\/ Limited \\/ SEL SULEV\",\"Made In\":\"United States\",\"Vehicle Style\":\"Sedan (4-Door)\",\"Vehicle Type\":\"Passenger Car\",\"Vehicle Size\":\"\",\"Vehicle Category\":\"\",\"Doors\":\"4\",\"Fuel Type\":\"Gasoline\",\"Fuel Capacity\":\"\",\"City Mileage\":\"\",\"Highway Mileage\":\"\",\"Engine\":\"GDI THETA-II\",\"Engine Size\":\"2.4\",\"Engine Cylinders\":\"4\",\"Transmission Type\":\"\",\"Transmission Gears\":\"\",\"Driven Wheels\":\"\",\"Anti-Brake System\":\"\",\"Steering Type\":\"\",\"Curb Weight\":\"\",\"Gross Weight\":\"\",\"Overall Height\":\"\",\"Overall Length\":\"\",\"Overall Width\":\"\",\"Standard Seating\":\"\",\"Optional Seating\":\"\",\"Invoice Price\":\"\",\"Delivery Charges\":\"\",\"MSRP\":\"\"},\"success\":true,\"error\":\"\"}', '2547 Massachusetts Avenue, Cambridge, MA, USA', '42.4002336', '-71.1338137', '2018-12-16 15:49:20', 3), | (16, NULL, '2017 Hyundai Sonata SE', 'sonata', 'hyundai', '2017', NULL, '{\"vehicle\":\"2017 Hyundai Sonata SE\",\"attributes\":{\"Year\":\"2017\",\"Make\":\"Hyundai\",\"Model\":\"Sonata\",\"Trim\":\"SE\",\"Short Trim\":\"SE\",\"Trim Variations\":\"Base PZEV \\/ Base \\/ SE PZEV \\/ SE \\/ Eco \\/ Sport \\/ Limited \\/ Sport 2.0T \\/ Limited 2.0T\",\"Made In\":\"United States\",\"Vehicle Style\":\"Sedan (4-Door)\",\"Vehicle Type\":\"Car\",\"Vehicle Size\":\"Midsize\",\"Vehicle Category\":\"Large Cars\",\"Doors\":\"4\",\"Fuel Type\":\"Regular Unleaded\",\"Fuel Capacity\":\"18.5 gallon\",\"City Mileage\":\"25 miles\\/gallon\",\"Highway Mileage\":\"36 miles\\/gallon\",\"Engine\":\"2.4L L4 DOHC 16V\",\"Engine Size\":\"2.4\",\"Engine Cylinders\":\"4\",\"Transmission Type\":\"Automatic\",\"Transmission Gears\":\"6\",\"Driven Wheels\":\"Front Wheel Drive\",\"Anti-Brake System\":\"4-Wheel ABS\",\"Steering Type\":\"R&P\",\"Curb Weight\":\"3252\",\"Gross Weight\":\"\",\"Overall Height\":\"58.10 inches\",\"Overall Length\":\"191.10 inches\",\"Overall Width\":\"73.40 inches\",\"Standard Seating\":\"5\",\"Optional Seating\":\"\",\"Invoice Price\":\"$21,047\",\"Delivery Charges\":\"$835\",\"MSRP\":\"$21,950\"},\"success\":true,\"error\":\"\"}', 'DfR Solutions, Virginia Manor Road, Beltsville, MD, USA', '39.063356', '-76.893169', '2018-12-17 10:33:11', 3), | ||
(23, NULL, '2013 Hyundai Sonata GLS', 'sonata', 'hyundai', '2013', NULL, '{\"vehicle\":\"2013 Hyundai Sonata GLS\",\"attributes\":{\"Year\":\"2013\",\"Make\":\"Hyundai\",\"Model\":\"Sonata\",\"Trim\":\"GLS\",\"Short Trim\":\"GLS\",\"Trim Variations\":\"GLS \\/ GLS PZEV\",\"Made In\":\"United States\",\"Vehicle Style\":\"Sedan (4-Door)\",\"Vehicle Type\":\"Car\",\"Vehicle Size\":\"Car\",\"Vehicle Category\":\"Large Cars\",\"Doors\":\"4\",\"Fuel Type\":\"Regular Unleaded\",\"Fuel Capacity\":\"18.5 gallon\",\"City Mileage\":\"24 miles\\/gallon\",\"Highway Mileage\":\"35 miles\\/gallon\",\"Engine\":\"2.4L L4 DOHC 16V\",\"Engine Size\":\"2.4\",\"Engine Cylinders\":\"4\",\"Transmission Type\":\"Automatic\",\"Transmission Gears\":\"6\",\"Driven Wheels\":\"Front Wheel Drive\",\"Anti-Brake System\":\"4-Wheel ABS\",\"Steering Type\":\"R&P\",\"Curb Weight\":\"3199\",\"Gross Weight\":\"\",\"Overall Height\":\"57.90 inches\",\"Overall Length\":\"189.80 inches\",\"Overall Width\":\"72.20 inches\",\"Standard Seating\":\"5\",\"Optional Seating\":\"\",\"Invoice Price\":\"$20,293\",\"Delivery Charges\":\"$795\",\"MSRP\":\"$21,195\"},\"success\":true,\"error\":\"\"}', 'Dallas, TX, USA', '32.7766642', '-96.7969879', '2018-12-16 15:54:49', 3), | (17, NULL, NULL, NULL, NULL, NULL, '1NXBR32E85Z505904', '{\"vin\":\"1NXBR32E85Z505904\",\"attributes\":{\"VIN\":\"1NXBR32E85Z505904\",\"Year\":\"2005\",\"Make\":\"Toyota\",\"Model\":\"Corolla\",\"Trim\":\"CE\",\"Short Trim\":\"CE\",\"Trim Variations\":\"CE \\/ LE \\/ S\",\"Made In\":\"United States\",\"Vehicle Style\":\"Sedan (4-Door)\",\"Vehicle Type\":\"Car\",\"Vehicle Size\":\"Compact\",\"Vehicle Category\":\"Compact Cars\",\"Doors\":\"4\",\"Fuel Type\":\"Regular Unleaded\",\"Fuel Capacity\":\"13.2 gallon\",\"City Mileage\":\"30 - 32 miles\\/gallon\",\"Highway Mileage\":\"38 - 41 miles\\/gallon\",\"Engine\":\"1.8L L4 DOHC 16V\",\"Engine Size\":\"1.8\",\"Engine Cylinders\":\"4\",\"Transmission Type\":\"Automatic\",\"Transmission Gears\":\"4\",\"Driven Wheels\":\"Front Wheel Drive\",\"Anti-Brake System\":\"Non-Abs | 4-Wheel ABS\",\"Steering Type\":\"R&P\",\"Curb Weight\":\"2615\",\"Gross Weight\":\"\",\"Overall Height\":\"58.50 inches\",\"Overall Length\":\"178.30 inches\",\"Overall Width\":\"66.90 inches\",\"Standard Seating\":\"5\",\"Optional Seating\":\"\",\"Invoice Price\":\"$14,287\",\"Delivery Charges\":\"$540\",\"MSRP\":\"$15,790\"},\"success\":true,\"error\":\"\"}', 'DRTY SMMR, Myrtle Avenue, Brooklyn, NY, USA', '40.6973088', '-73.9308637', '2018-12-17 11:42:55', 3), | ||
(24, NULL, '2018 Hyundai Sonata Sport', 'sonata', 'hyundai', '2018', NULL, '{\"vehicle\":\"2018 Hyundai Sonata Sport\",\"attributes\":{\"Year\":\"2018\",\"Make\":\"Hyundai\",\"Model\":\"Sonata\",\"Trim\":\"Sport\",\"Short Trim\":\"SEL\",\"Trim Variations\":\"SEL \\/ Limited SULEV \\/ Sport \\/ Limited \\/ SEL SULEV\",\"Made In\":\"United States\",\"Vehicle Style\":\"Sedan (4-Door)\",\"Vehicle Type\":\"Passenger Car\",\"Vehicle Size\":\"\",\"Vehicle Category\":\"\",\"Doors\":\"4\",\"Fuel Type\":\"Gasoline\",\"Fuel Capacity\":\"\",\"City Mileage\":\"\",\"Highway Mileage\":\"\",\"Engine\":\"GDI THETA-II\",\"Engine Size\":\"2.4\",\"Engine Cylinders\":\"4\",\"Transmission Type\":\"\",\"Transmission Gears\":\"\",\"Driven Wheels\":\"\",\"Anti-Brake System\":\"\",\"Steering Type\":\"\",\"Curb Weight\":\"\",\"Gross Weight\":\"\",\"Overall Height\":\"\",\"Overall Length\":\"\",\"Overall Width\":\"\",\"Standard Seating\":\"\",\"Optional Seating\":\"\",\"Invoice Price\":\"\",\"Delivery Charges\":\"\",\"MSRP\":\"\"},\"success\":true,\"error\":\"\"}', 'R G Skinner Parkway, Jacksonville, FL, USA', '30.2099654', '-81.5130142', '2018-12-16 15:57:38', 3); | (20, NULL, '2005 Toyota Corolla CE', NULL, NULL, NULL, '1NXBR32E85Z505904', '{\"vin\":\"1NXBR32E85Z505904\",\"attributes\":{\"VIN\":\"1NXBR32E85Z505904\",\"Year\":\"2005\",\"Make\":\"Toyota\",\"Model\":\"Corolla\",\"Trim\":\"CE\",\"Short Trim\":\"CE\",\"Trim Variations\":\"CE \\/ LE \\/ S\",\"Made In\":\"United States\",\"Vehicle Style\":\"Sedan (4-Door)\",\"Vehicle Type\":\"Car\",\"Vehicle Size\":\"Compact\",\"Vehicle Category\":\"Compact Cars\",\"Doors\":\"4\",\"Fuel Type\":\"Regular Unleaded\",\"Fuel Capacity\":\"13.2 gallon\",\"City Mileage\":\"30 - 32 miles\\/gallon\",\"Highway Mileage\":\"38 - 41 miles\\/gallon\",\"Engine\":\"1.8L L4 DOHC 16V\",\"Engine Size\":\"1.8\",\"Engine Cylinders\":\"4\",\"Transmission Type\":\"Automatic\",\"Transmission Gears\":\"4\",\"Driven Wheels\":\"Front Wheel Drive\",\"Anti-Brake System\":\"Non-Abs | 4-Wheel ABS\",\"Steering Type\":\"R&P\",\"Curb Weight\":\"2615\",\"Gross Weight\":\"\",\"Overall Height\":\"58.50 inches\",\"Overall Length\":\"178.30 inches\",\"Overall Width\":\"66.90 inches\",\"Standard Seating\":\"5\",\"Optional Seating\":\"\",\"Invoice Price\":\"$14,287\",\"Delivery Charges\":\"$540\",\"MSRP\":\"$15,790\"},\"success\":true,\"error\":\"\",\"vehicle\":\"2005 Toyota Corolla CE\"}', 'CA, USA', '36.778261', '-119.4179324', '2018-12-17 12:35:05', 3); | ||
-- -------------------------------------------------------- | -- -------------------------------------------------------- | ||
... | @@ -125,26 +121,41 @@ INSERT INTO `customer_vehicle` (`customer_veh_id`, `customer_id`, `car_name`, `c | ... | @@ -125,26 +121,41 @@ INSERT INTO `customer_vehicle` (`customer_veh_id`, `customer_id`, `car_name`, `c |
-- Table structure for table `issues` | -- Table structure for table `issues` | ||
-- | -- | ||
DROP TABLE IF EXISTS `issues`; | CREATE TABLE `issues` ( | ||
CREATE TABLE IF NOT EXISTS `issues` ( | `issue_id` int(11) NOT NULL, | ||
`issue_id` int(11) NOT NULL AUTO_INCREMENT, | |||
`issue` varchar(500) NOT NULL, | `issue` varchar(500) NOT NULL, | ||
`status` tinyint(3) NOT NULL DEFAULT '1', | `issue_image` varchar(500) DEFAULT NULL, | ||
PRIMARY KEY (`issue_id`) | `status` tinyint(3) NOT NULL DEFAULT '1' | ||
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=latin1; | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; | ||
-- | -- | ||
-- Dumping data for table `issues` | -- Dumping data for table `issues` | ||
-- | -- | ||
INSERT INTO `issues` (`issue_id`, `issue`, `status`) VALUES | INSERT INTO `issues` (`issue_id`, `issue`, `issue_image`, `status`) VALUES | ||
(1, 'Oil Change and General Service (Free Water Service).', 2), | (1, 'Oil Change and General Service (Free Water Service).', NULL, 2), | ||
(2, 'Wheel Alignment and General Service (Free Water Service)', 1), | (2, 'Wheel Alignment and General Service (Free Water Service)', NULL, 1), | ||
(3, 'General Water Service and Periodic General Check up', 1), | (3, 'General Water Service and Periodic General Check up', NULL, 1), | ||
(4, 'Water Service (With polishing)', 1), | (4, 'Water Service (With polishing)', NULL, 1), | ||
(5, 'Water Service (Without polishing)', 1), | (5, 'Water Service (Without polishing)', NULL, 1), | ||
(6, 'Oil Change and General Service (Free Water Service and Polishing).', 1), | (6, 'Oil Change and General Service (Free Water Service and Polishing).', NULL, 1), | ||
(7, 'Oil Change and General Service (Free Water Service and Polishing).', 1); | (7, 'Oil Change and General Service (Free Water Service and Polishing).', NULL, 1); | ||
-- -------------------------------------------------------- | |||
-- | |||
-- Table structure for table `issues_category` | |||
-- | |||
CREATE TABLE `issues_category` ( | |||
`issue_cat_id` int(11) NOT NULL, | |||
`issue_id` int(11) DEFAULT NULL, | |||
`issue_category` varchar(500) DEFAULT NULL, | |||
`issue_cat_image` varchar(500) DEFAULT NULL, | |||
`default_service_fee` double DEFAULT NULL, | |||
`default_description` longtext, | |||
`status` tinyint(3) NOT NULL DEFAULT '1' | |||
) ENGINE=InnoDB DEFAULT CHARSET=latin1; | |||
-- -------------------------------------------------------- | -- -------------------------------------------------------- | ||
... | @@ -152,9 +163,8 @@ INSERT INTO `issues` (`issue_id`, `issue`, `status`) VALUES | ... | @@ -152,9 +163,8 @@ INSERT INTO `issues` (`issue_id`, `issue`, `status`) VALUES |
-- Table structure for table `mechanic` | -- Table structure for table `mechanic` | ||
-- | -- | ||
DROP TABLE IF EXISTS `mechanic`; | CREATE TABLE `mechanic` ( | ||
CREATE TABLE IF NOT EXISTS `mechanic` ( | `id` int(11) NOT NULL, | ||
`id` int(11) NOT NULL AUTO_INCREMENT, | |||
`mechanic_id` int(11) NOT NULL, | `mechanic_id` int(11) NOT NULL, | ||
`shop_id` int(11) NOT NULL DEFAULT '0', | `shop_id` int(11) NOT NULL DEFAULT '0', | ||
`first_name` varchar(50) NOT NULL, | `first_name` varchar(50) NOT NULL, | ||
... | @@ -168,9 +178,8 @@ CREATE TABLE IF NOT EXISTS `mechanic` ( | ... | @@ -168,9 +178,8 @@ CREATE TABLE IF NOT EXISTS `mechanic` ( |
`licence_number` varchar(250) DEFAULT NULL, | `licence_number` varchar(250) DEFAULT NULL, | ||
`licence_exp_date` varchar(250) DEFAULT NULL, | `licence_exp_date` varchar(250) DEFAULT NULL, | ||
`location_lat` varchar(30) DEFAULT NULL, | `location_lat` varchar(30) DEFAULT NULL, | ||
`location_lng` varchar(30) DEFAULT NULL, | `location_lng` varchar(30) DEFAULT NULL | ||
PRIMARY KEY (`id`) | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; | ||
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=latin1; | |||
-- | -- | ||
-- Dumping data for table `mechanic` | -- Dumping data for table `mechanic` | ||
... | @@ -187,26 +196,26 @@ INSERT INTO `mechanic` (`id`, `mechanic_id`, `shop_id`, `first_name`, `last_name | ... | @@ -187,26 +196,26 @@ INSERT INTO `mechanic` (`id`, `mechanic_id`, `shop_id`, `first_name`, `last_name |
-- Table structure for table `mechanic_issues` | -- Table structure for table `mechanic_issues` | ||
-- | -- | ||
DROP TABLE IF EXISTS `mechanic_issues`; | CREATE TABLE `mechanic_issues` ( | ||
CREATE TABLE IF NOT EXISTS `mechanic_issues` ( | `id` int(11) NOT NULL, | ||
`id` int(11) NOT NULL AUTO_INCREMENT, | |||
`issue_id` int(11) DEFAULT NULL, | `issue_id` int(11) DEFAULT NULL, | ||
`issue_cat_id` int(11) DEFAULT NULL, | |||
`mechanic_id` int(11) DEFAULT NULL, | `mechanic_id` int(11) DEFAULT NULL, | ||
`issue_description` longtext, | `custom_image` varchar(500) DEFAULT NULL, | ||
`service_fee` double NOT NULL DEFAULT '0', | `custom_description` longtext, | ||
`status` tinyint(3) NOT NULL DEFAULT '1', | `custom_service_fee` double NOT NULL DEFAULT '0', | ||
PRIMARY KEY (`id`) | `status` tinyint(3) NOT NULL DEFAULT '1' | ||
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=latin1; | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; | ||
-- | -- | ||
-- Dumping data for table `mechanic_issues` | -- Dumping data for table `mechanic_issues` | ||
-- | -- | ||
INSERT INTO `mechanic_issues` (`id`, `issue_id`, `mechanic_id`, `issue_description`, `service_fee`, `status`) VALUES | INSERT INTO `mechanic_issues` (`id`, `issue_id`, `issue_cat_id`, `mechanic_id`, `custom_image`, `custom_description`, `custom_service_fee`, `status`) VALUES | ||
(1, 1, 12, 'sert', 435345, 0), | (1, 1, NULL, 12, NULL, 'sert', 435345, 0), | ||
(2, 2, 2, 'fghdrftyhudsrxfytuh we e4rtwe4t we5tywer5 we5twer tew4rte etewt aw4raew w3rw3e w3r4wer fghdrftyhudsrxfytuh we e4rtwe4t we5tywer5 we5twer tew4rte etewt aw4raew w3rw3e w3r4wer fghdrftyhudsrxfytuh we e4rtwe4t we5tywer5 we5twer tew4rte etewt aw4raew w3rw3e w3r4wer fghdrftyhudsrxfytuh we e4rtwe4t we5tywer5 we5twer tew4rte etewt aw4raew w3rw3e w3r4wer fghdrftyhudsrxfytuh we e4rtwe4t we5tywer5 we5twer tew4rte etewt aw4raew w3rw3e w3r4wer', 435345, 1), | (2, 2, NULL, 2, NULL, 'fghdrftyhudsrxfytuh we e4rtwe4t we5tywer5 we5twer tew4rte etewt aw4raew w3rw3e w3r4wer fghdrftyhudsrxfytuh we e4rtwe4t we5tywer5 we5twer tew4rte etewt aw4raew w3rw3e w3r4wer fghdrftyhudsrxfytuh we e4rtwe4t we5tywer5 we5twer tew4rte etewt aw4raew w3rw3e w3r4wer fghdrftyhudsrxfytuh we e4rtwe4t we5tywer5 we5twer tew4rte etewt aw4raew w3rw3e w3r4wer fghdrftyhudsrxfytuh we e4rtwe4t we5tywer5 we5twer tew4rte etewt aw4raew w3rw3e w3r4wer', 435345, 1), | ||
(3, 1, 2, 'edrte ew4te ew5ter e354trs5 edrte ew4te ew5ter e354trs5 edrte ew4te ew5ter e354trs5 edrte ew4te ew5ter e354trs5 ', 435345, 0), | (3, 1, NULL, 2, NULL, 'edrte ew4te ew5ter e354trs5 edrte ew4te ew5ter e354trs5 edrte ew4te ew5ter e354trs5 edrte ew4te ew5ter e354trs5 ', 435345, 0), | ||
(4, 1, 2, 'edrte ew4te ew5ter e354trs5 edrte ew4te ew5ter e354trs5 edrte ew4te ew5ter e354trs5 edrte ew4te ew5ter e354trs5 ', 435345, 0); | (4, 1, NULL, 2, NULL, 'edrte ew4te ew5ter e354trs5 edrte ew4te ew5ter e354trs5 edrte ew4te ew5ter e354trs5 edrte ew4te ew5ter e354trs5 ', 435345, 0); | ||
-- -------------------------------------------------------- | -- -------------------------------------------------------- | ||
... | @@ -214,16 +223,14 @@ INSERT INTO `mechanic_issues` (`id`, `issue_id`, `mechanic_id`, `issue_descripti | ... | @@ -214,16 +223,14 @@ INSERT INTO `mechanic_issues` (`id`, `issue_id`, `mechanic_id`, `issue_descripti |
-- Table structure for table `mechanic_shop` | -- Table structure for table `mechanic_shop` | ||
-- | -- | ||
DROP TABLE IF EXISTS `mechanic_shop`; | CREATE TABLE `mechanic_shop` ( | ||
CREATE TABLE IF NOT EXISTS `mechanic_shop` ( | `shop_id` int(11) NOT NULL, | ||
`shop_id` int(11) NOT NULL AUTO_INCREMENT, | |||
`shop_name` varchar(250) NOT NULL, | `shop_name` varchar(250) NOT NULL, | ||
`address` varchar(500) NOT NULL, | `address` varchar(500) NOT NULL, | ||
`phone` varchar(15) NOT NULL, | `phone` varchar(15) NOT NULL, | ||
`email_id` varchar(150) NOT NULL, | `email_id` varchar(150) NOT NULL, | ||
`status` tinyint(3) NOT NULL DEFAULT '1', | `status` tinyint(3) NOT NULL DEFAULT '1' | ||
PRIMARY KEY (`shop_id`) | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; | ||
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1; | |||
-- | -- | ||
-- Dumping data for table `mechanic_shop` | -- Dumping data for table `mechanic_shop` | ||
... | @@ -239,9 +246,8 @@ INSERT INTO `mechanic_shop` (`shop_id`, `shop_name`, `address`, `phone`, `email_ | ... | @@ -239,9 +246,8 @@ INSERT INTO `mechanic_shop` (`shop_id`, `shop_name`, `address`, `phone`, `email_ |
-- Table structure for table `setting` | -- Table structure for table `setting` | ||
-- | -- | ||
DROP TABLE IF EXISTS `setting`; | CREATE TABLE `setting` ( | ||
CREATE TABLE IF NOT EXISTS `setting` ( | `id` int(11) NOT NULL, | ||
`id` int(11) NOT NULL AUTO_INCREMENT, | |||
`title` varchar(250) NOT NULL, | `title` varchar(250) NOT NULL, | ||
`title_short` varchar(250) NOT NULL, | `title_short` varchar(250) NOT NULL, | ||
`site_logo` varchar(150) NOT NULL, | `site_logo` varchar(150) NOT NULL, | ||
... | @@ -253,9 +259,8 @@ CREATE TABLE IF NOT EXISTS `setting` ( | ... | @@ -253,9 +259,8 @@ CREATE TABLE IF NOT EXISTS `setting` ( |
`smtp_password` varchar(150) NOT NULL, | `smtp_password` varchar(150) NOT NULL, | ||
`google_api_key` varchar(500) DEFAULT NULL, | `google_api_key` varchar(500) DEFAULT NULL, | ||
`vin_audit_url` varchar(500) DEFAULT NULL, | `vin_audit_url` varchar(500) DEFAULT NULL, | ||
`vin_audit_api` varchar(500) DEFAULT NULL, | `vin_audit_api` varchar(500) DEFAULT NULL | ||
PRIMARY KEY (`id`) | ) ENGINE=MyISAM DEFAULT CHARSET=latin1; | ||
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; | |||
-- | -- | ||
-- Dumping data for table `setting` | -- Dumping data for table `setting` | ||
... | @@ -263,6 +268,122 @@ CREATE TABLE IF NOT EXISTS `setting` ( | ... | @@ -263,6 +268,122 @@ CREATE TABLE IF NOT EXISTS `setting` ( |
INSERT INTO `setting` (`id`, `title`, `title_short`, `site_logo`, `fav_icon`, `country_flag`, `currency`, `smtp_host`, `smtp_username`, `smtp_password`, `google_api_key`, `vin_audit_url`, `vin_audit_api`) VALUES | INSERT INTO `setting` (`id`, `title`, `title_short`, `site_logo`, `fav_icon`, `country_flag`, `currency`, `smtp_host`, `smtp_username`, `smtp_password`, `google_api_key`, `vin_audit_url`, `vin_audit_api`) VALUES | ||
(1, 'd-Car Fixers', 'd-CarFixers', 'assets/uploads/services/1539680946_1523012036_hj.jpg', 'assets/uploads/services/1539680946_1523540473_guenstig_reifen.png', 'US', 'USD', '[email protected]', 'AIzaSyC9JX3BZZfx2S6GQieC_PqjuJdUbZ7_wyM1', 'Golden_1234', 'AIzaSyCcc-YDSJyDpehNE6qfntfWpEQ4uS4aq6A', 'https://specifications.vinaudit.com/getspecifications.php', 'VA_DEMO_KEY'); | (1, 'd-Car Fixers', 'd-CarFixers', 'assets/uploads/services/1539680946_1523012036_hj.jpg', 'assets/uploads/services/1539680946_1523540473_guenstig_reifen.png', 'US', 'USD', '[email protected]', 'AIzaSyC9JX3BZZfx2S6GQieC_PqjuJdUbZ7_wyM1', 'Golden_1234', 'AIzaSyCcc-YDSJyDpehNE6qfntfWpEQ4uS4aq6A', 'https://specifications.vinaudit.com/getspecifications.php', 'VA_DEMO_KEY'); | ||
-- | |||
-- Indexes for dumped tables | |||
-- | |||
-- | |||
-- Indexes for table `admin_users` | |||
-- | |||
ALTER TABLE `admin_users` | |||
ADD PRIMARY KEY (`id`); | |||
-- | |||
-- Indexes for table `customers` | |||
-- | |||
ALTER TABLE `customers` | |||
ADD PRIMARY KEY (`customer_id`); | |||
-- | |||
-- Indexes for table `customer_vehicle` | |||
-- | |||
ALTER TABLE `customer_vehicle` | |||
ADD PRIMARY KEY (`customer_veh_id`); | |||
-- | |||
-- Indexes for table `issues` | |||
-- | |||
ALTER TABLE `issues` | |||
ADD PRIMARY KEY (`issue_id`); | |||
-- | |||
-- Indexes for table `issues_category` | |||
-- | |||
ALTER TABLE `issues_category` | |||
ADD PRIMARY KEY (`issue_cat_id`); | |||
-- | |||
-- Indexes for table `mechanic` | |||
-- | |||
ALTER TABLE `mechanic` | |||
ADD PRIMARY KEY (`id`); | |||
-- | |||
-- Indexes for table `mechanic_issues` | |||
-- | |||
ALTER TABLE `mechanic_issues` | |||
ADD PRIMARY KEY (`id`); | |||
-- | |||
-- Indexes for table `mechanic_shop` | |||
-- | |||
ALTER TABLE `mechanic_shop` | |||
ADD PRIMARY KEY (`shop_id`); | |||
-- | |||
-- Indexes for table `setting` | |||
-- | |||
ALTER TABLE `setting` | |||
ADD PRIMARY KEY (`id`); | |||
-- | |||
-- AUTO_INCREMENT for dumped tables | |||
-- | |||
-- | |||
-- AUTO_INCREMENT for table `admin_users` | |||
-- | |||
ALTER TABLE `admin_users` | |||
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13; | |||
-- | |||
-- AUTO_INCREMENT for table `customers` | |||
-- | |||
ALTER TABLE `customers` | |||
MODIFY `customer_id` int(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; | |||
-- | |||
-- AUTO_INCREMENT for table `customer_vehicle` | |||
-- | |||
ALTER TABLE `customer_vehicle` | |||
MODIFY `customer_veh_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=21; | |||
-- | |||
-- AUTO_INCREMENT for table `issues` | |||
-- | |||
ALTER TABLE `issues` | |||
MODIFY `issue_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8; | |||
-- | |||
-- AUTO_INCREMENT for table `issues_category` | |||
-- | |||
ALTER TABLE `issues_category` | |||
MODIFY `issue_cat_id` int(11) NOT NULL AUTO_INCREMENT; | |||
-- | |||
-- AUTO_INCREMENT for table `mechanic` | |||
-- | |||
ALTER TABLE `mechanic` | |||
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7; | |||
-- | |||
-- AUTO_INCREMENT for table `mechanic_issues` | |||
-- | |||
ALTER TABLE `mechanic_issues` | |||
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5; | |||
-- | |||
-- AUTO_INCREMENT for table `mechanic_shop` | |||
-- | |||
ALTER TABLE `mechanic_shop` | |||
MODIFY `shop_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; | |||
-- | |||
-- AUTO_INCREMENT for table `setting` | |||
-- | |||
ALTER TABLE `setting` | |||
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; | |||
COMMIT; | COMMIT; | ||
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; | /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; | ||
... | ... |
Please
register
or
sign in
to comment