dc
Showing
... | ... | @@ -3,7 +3,7 @@ |
-- https://www.phpmyadmin.net/ | ||
-- | ||
-- Host: db | ||
-- Generation Time: Jan 08, 2019 at 01:31 PM | ||
-- Generation Time: Jan 10, 2019 at 12:52 PM | ||
-- Server version: 5.6.41 | ||
-- PHP Version: 7.2.8 | ||
... | ... | @@ -46,13 +46,30 @@ INSERT INTO `admin_users` (`id`, `username`, `password`, `user_type`, `display_n |
(1, 'admin', '202cb962ac59075b964b07152d234b70', 1, 'Super Admin User', 'assets/uploads/services/1543990056_1523012120_default.png', 1), | ||
(2, 'mechanic', '202cb962ac59075b964b07152d234b70', 2, 'Mechanic', 'assets/uploads/services/1546929651_audi-r8-1366x786.jpg', 1), | ||
(11, 'cfghbfchdrfg', '97a4aa7bfb0e20d7b9813ffe99f91fd4', 2, 'lnoik', 'assets/uploads/services/1544013534_images.jpg', 1), | ||
(12, 'admin123', '202cb962ac59075b964b07152d234b70', 2, 'Super Admin', 'assets/uploads/services/1544091403_Himalayan.jpg', 1), | ||
(12, 'admin123', '202cb962ac59075b964b07152d234b70', 2, 'Super Admin', 'assets/uploads/services/1544091403_Himalayan.jpg', 2), | ||
(13, 'jansa', '202cb962ac59075b964b07152d234b70', 2, 'Jensa Mechanic', 'assets/uploads/services/1546851554_234858854male.jpg', 1), | ||
(14, 'mechanic_1', '202cb962ac59075b964b07152d234b70', 2, 'Super Mechanic 1', 'assets/uploads/services/1546929755_1523012036_hj.jpg', 1); | ||
-- -------------------------------------------------------- | ||
-- | ||
-- Table structure for table `bookings` | ||
-- | ||
CREATE TABLE `bookings` ( | ||
`booking_id` int(13) NOT NULL, | ||
`customer_id` int(13) DEFAULT NULL, | ||
`mechanic_id` int(13) DEFAULT NULL, | ||
`customer_veh_id` int(13) DEFAULT NULL, | ||
`mileage` varchar(25) DEFAULT NULL, | ||
`scheduled_date` varchar(50) DEFAULT NULL, | ||
`scheduled_time` varchar(50) DEFAULT NULL, | ||
`status` tinyint(3) NOT NULL DEFAULT '1' | ||
) ENGINE=InnoDB DEFAULT CHARSET=latin1; | ||
-- -------------------------------------------------------- | ||
-- | ||
-- Table structure for table `customers` | ||
-- | ||
... | ... | @@ -230,7 +247,7 @@ CREATE TABLE `mechanic` ( |
INSERT INTO `mechanic` (`id`, `mechanic_id`, `shop_id`, `first_name`, `last_name`, `email_id`, `phone`, `address`, `city`, `state`, `licence`, `licence_number`, `licence_exp_date`, `location`, `location_lat`, `location_lng`, `start_time`, `end_time`) VALUES | ||
(1, 2, 0, 'Tobin', 'Thomas', '[email protected]', '9995559194', 'Techware Software Solution', 'Ernakulam', 'Kerala', 'assets/uploads/services/1546929651_1523012036_hj.jpg', 'LI000515456', '01/29/2019', 'FL, USA', '27.6648274', '-81.5157535', '10:00', '17:00'), | ||
(5, 11, 0, 'kjo', 'kjo', '[email protected]', '34653456344456', 'Techware', 'Aiea', 'Hawaii', 'assets/uploads/services/1544091718_sniper.jpg', 'dfrgdersgt', '12/13/2018', 'FL, USA', '27.6648274', '-81.5157535', NULL, NULL), | ||
(5, 11, 0, 'kjo', 'kjo', '[email protected]', '34653456344456', 'Techware', 'Aiea', 'Hawaii', 'assets/uploads/services/1544091718_sniper.jpg', 'dfrgdersgt', '12/13/2018', 'Fort Lauderdale, FL, USA', '26.1224386', '-80.1373174', '06:30', '13:55'), | ||
(6, 12, 0, 'Driver', 'john', '[email protected]', '9995551234', 'Techware', 'Aiea', 'Hawaii', 'assets/uploads/services/1544091568_1523012036_hj.jpg', 'LI00051545', '12/25/2018', NULL, NULL, NULL, NULL, NULL), | ||
(7, 13, 1, 'Jensa', 'Jose', '[email protected]', '9995559856', 'Techware', 'Aiea', 'Hawaii', 'assets/uploads/services/1546851554_1523012036_hj.jpg', 'LI0005154', '01/30/2019', 'Grand Rapids, MI, USA', '42.9633599', '-85.6680863', NULL, NULL), | ||
(8, 14, 0, 'Tobin', 'Thomas', '[email protected]', '9934534594', 'Techware', 'Aiea', 'Hawaii', 'assets/uploads/services/1546929755_1523012036_hj1.jpg', 'LI000515456', '01/29/2019', 'J K O\'Donnell\'s, West Wayne Street, Fort Wayne, IN, USA', '41.0780191', '-85.1402719', '10:00', '17:00'); | ||
... | ... | @@ -327,6 +344,12 @@ ALTER TABLE `admin_users` |
ADD PRIMARY KEY (`id`); | ||
-- | ||
-- Indexes for table `bookings` | ||
-- | ||
ALTER TABLE `bookings` | ||
ADD PRIMARY KEY (`booking_id`); | ||
-- | ||
-- Indexes for table `customers` | ||
-- | ||
ALTER TABLE `customers` | ||
... | ... | @@ -391,6 +414,12 @@ ALTER TABLE `admin_users` |
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15; | ||
-- | ||
-- AUTO_INCREMENT for table `bookings` | ||
-- | ||
ALTER TABLE `bookings` | ||
MODIFY `booking_id` int(13) NOT NULL AUTO_INCREMENT; | ||
-- | ||
-- AUTO_INCREMENT for table `customers` | ||
-- | ||
ALTER TABLE `customers` | ||
... | ... |
Please
register
or
sign in
to comment