-- https://www.phpmyadmin.net/
--

START TRANSACTION;



--
-- Database: `lumen`
--

-- --------------------------------------------------------

--
-- Table structure for table `addresses`
--

CREATE TABLE `addresses` (
  `id` int(11) NOT NULL,
  `user_id` int(11) DEFAULT NULL,
  `user_type` enum('1','2') DEFAULT NULL COMMENT '1=user, 2=contractor',
  `default_address` varchar(256) DEFAULT 'NO',
  `street_address` longtext DEFAULT NULL,
  `street_name` varchar(256) DEFAULT NULL,
  `apartment_number` varchar(256) DEFAULT NULL,
  `state` varchar(250) DEFAULT NULL,
  `city` varchar(250) DEFAULT NULL,
  `location` varchar(250) DEFAULT NULL,
  `landmark` varchar(250) DEFAULT NULL,
  `pincode` varchar(250) DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- --------------------------------------------------------

--
-- Table structure for table `admins`
--

CREATE TABLE `admins` (
  `id` int(10) UNSIGNED NOT NULL,
  `username` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `first_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `last_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `phone` varchar(15) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `image` varchar(256) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `token` varchar(250) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` int(1) NOT NULL DEFAULT 0 COMMENT '0 active, 1 in-active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `admins`
--

INSERT INTO `admins` (`id`, `username`, `first_name`, `last_name`, `email`, `phone`, `address`, `image`, `remember_token`, `token`, `status`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 'superadmin', 'Sean', 'Rock', 'sean@sparxitsolutions.com', '9910124603', NULL, NULL, NULL, NULL, 0, '2021-07-17 02:50:13', '2021-07-18 07:08:22', NULL),
(13, 'rakesh', 'RAKESH', 'KUMAR', 'info.rakeshpatel@gmail.com', '7678624390', NULL, NULL, NULL, NULL, 0, '2021-07-18 07:15:10', '2021-07-18 07:15:10', NULL);

-- --------------------------------------------------------

--
-- Table structure for table `admin_notifications`
--

CREATE TABLE `admin_notifications` (
  `id` int(11) NOT NULL,
  `title` varchar(250) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `user_type` varchar(250) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `user_id` int(11) DEFAULT NULL,
  `notifiable_id` bigint(20) UNSIGNED DEFAULT NULL,
  `data` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `read_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `admin_notifications`
--

INSERT INTO `admin_notifications` (`id`, `title`, `user_type`, `user_id`, `notifiable_id`, `data`, `read_at`, `created_at`, `updated_at`) VALUES
(3, 'New Offer', '1', 6, NULL, '<p>Use this offer 20% off for all product</p>', NULL, '2021-06-10 17:04:24', NULL),
(4, 'New Offer', '1', 7, NULL, '<p>Use this offer 20% off for all product</p>', NULL, '2021-06-10 17:04:24', NULL),
(5, 'contractor offer', '2', 2, NULL, '<p>ssss</p>', NULL, '2021-06-10 17:34:48', NULL),
(6, 'TEST Notified', '2', 3, NULL, '<p>This is test notification</p>', NULL, '2021-06-18 07:48:10', NULL),
(7, 'TEST Notified', '2', 4, NULL, '<p>This is test notification</p>', NULL, '2021-06-18 07:48:10', NULL),
(8, 'test1', '1', 3, NULL, '<p>test</p>', NULL, '2021-06-24 08:56:57', NULL);

-- --------------------------------------------------------

--
-- Table structure for table `app_rating`
--

CREATE TABLE `app_rating` (
  `id` int(11) NOT NULL,
  `user_id` int(11) DEFAULT NULL,
  `contractor_id` int(11) DEFAULT NULL,
  `rating` enum('1','2','3','4','5') COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `review` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `availability`
--

CREATE TABLE `availability` (
  `id` int(11) NOT NULL,
  `contractor_id` int(11) NOT NULL,
  `availability_type_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `availability`
--

INSERT INTO `availability` (`id`, `contractor_id`, `availability_type_id`) VALUES
(1, 14, 1);

-- --------------------------------------------------------

--
-- Table structure for table `availability_slot`
--

CREATE TABLE `availability_slot` (
  `id` int(11) NOT NULL,
  `availability_id` int(11) NOT NULL,
  `primary_number` varchar(15) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `secondry_number` varchar(15) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `chat_availability` varchar(256) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `availability_date` date DEFAULT NULL,
  `availability_time_from` time DEFAULT NULL,
  `availability_time_to` time DEFAULT NULL,
  `shift` enum('morning','afternoon','evening') COLLATE utf8mb4_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `availability_slot`
--

INSERT INTO `availability_slot` (`id`, `availability_id`, `primary_number`, `secondry_number`, `chat_availability`, `availability_date`, `availability_time_from`, `availability_time_to`, `shift`) VALUES
(1, 1, '8826050648', '8826001122', NULL, NULL, NULL, NULL, NULL);

-- --------------------------------------------------------

--
-- Table structure for table `availability_type`
--

CREATE TABLE `availability_type` (
  `id` int(11) NOT NULL,
  `name` varchar(256) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` int(11) NOT NULL DEFAULT 1 COMMENT '1=active, 0=inactive',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `availability_type`
--

INSERT INTO `availability_type` (`id`, `name`, `status`, `created_at`, `updated_at`) VALUES
(1, 'PHONE', 1, '2021-06-28 04:56:57', '2021-06-28 04:56:57'),
(2, 'CHAT', 1, '2021-06-28 04:56:57', '2021-06-28 04:56:57'),
(3, 'CALENDER', 1, '2021-06-28 04:57:18', '2021-06-28 04:57:18');

-- --------------------------------------------------------

--
-- Table structure for table `booking`
--

CREATE TABLE `booking` (
  `id` int(11) NOT NULL,
  `booking_id` varchar(250) DEFAULT '0123',
  `user_id` int(11) DEFAULT NULL,
  `contractor_id` int(11) DEFAULT NULL,
  `booking_date` datetime DEFAULT NULL,
  `slot_id` int(11) DEFAULT NULL,
  `service_id` int(11) DEFAULT NULL,
  `service_cat_id` int(11) DEFAULT NULL,
  `address` varchar(250) DEFAULT 'NULL',
  `booking_time` time DEFAULT NULL,
  `longitude` varchar(250) DEFAULT 'NULL',
  `status` enum('1','2','3','4','5') DEFAULT NULL COMMENT '''confirmed'',''on the way'',''in process'',''completed'', ''cancelled''',
  `latitude` varchar(250) DEFAULT 'NULL',
  `amount` varchar(250) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `booking`
--

INSERT INTO `booking` (`id`, `booking_id`, `user_id`, `contractor_id`, `booking_date`, `slot_id`, `service_id`, `service_cat_id`, `address`, `booking_time`, `longitude`, `status`, `latitude`, `amount`, `created_at`, `updated_at`) VALUES
(1, 'ZI00123', NULL, 1, '2020-05-07 00:00:00', 1, 4, 1, 'NH 24 Gorakhpur', '15:00:00', '123456.0000', '1', '123456.0000', '450', '0000-00-00 00:00:00', '2021-06-22 06:54:44'),
(2, 'ZI00124', NULL, 2, '2021-07-30 12:12:52', NULL, 1, 1, NULL, '01:00:00', NULL, '1', NULL, '100', '0000-00-00 00:00:00', NULL),
(13, '1', 14, 2, '2020-05-06 00:00:00', 1, 4, 1, 'NH 24 Gorakhpur', '15:00:00', '123456.0000', '1', '123456.0000', '450', '2021-06-25 05:33:16', '2021-06-25 05:33:16'),
(15, '1', 14, 1, '2020-05-06 00:00:00', 1, 1, 1, 'NH 24 Gorakhpur', '15:00:00', '123456.0000', '1', '123456.0000', '450', '2021-06-25 15:06:12', '2021-06-25 15:06:12'),
(16, '1', 14, 1, '2020-05-06 00:00:00', 1, 1, 1, 'NH 24 Gorakhpur', '15:00:00', '123456.0000', '1', '123456.0000', '450', '2021-06-25 15:10:57', '2021-06-25 15:10:57'),
(17, '125666', 14, 2, '2020-05-06 00:00:00', 1, 1, 1, 'Delhi', '15:00:00', '123456.0000', '1', '123456.0000', '250', '2021-07-03 02:30:27', '2021-07-03 02:30:27');

-- --------------------------------------------------------

--
-- Table structure for table `community_post`
--

CREATE TABLE `community_post` (
  `id` int(11) NOT NULL,
  `user_id` int(11) DEFAULT NULL,
  `user_type` enum('customer','contractor') DEFAULT NULL,
  `question` longtext DEFAULT NULL,
  `category_id` int(11) DEFAULT NULL,
  `status` varchar(250) DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- --------------------------------------------------------

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

CREATE TABLE `contact_us` (
  `id` int(11) NOT NULL,
  `name` varchar(250) DEFAULT NULL,
  `email` varchar(250) DEFAULT NULL,
  `phone` varchar(250) DEFAULT NULL,
  `message` varchar(250) DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

INSERT INTO `contact_us` (`id`, `name`, `email`, `phone`, `message`, `created_at`, `updated_at`) VALUES
(2, 'Asad shaikh', 'asad@gmail.com', '8826050648', 'Hi i am using your app !', '2021-06-22 07:10:47', '2021-06-22 07:10:47'),
(3, 'Rakesh sharma', 'rak066@gmail.com', '0123654789', 'I have a sign up problem in android phone', '2021-07-19 01:19:57', '2021-07-19 01:19:57'),
(6, 'Rakesh sharma', 'rak066@gmail.com', '0123654789', 'I have a sign up problem in android phone', '2021-07-19 01:20:22', '2021-07-19 01:20:22'),
(7, 'Rakesh sharma', 'rak066@gmail.com', '0123654789', 'I have a sign up problem in android phone', '2021-07-19 01:27:57', '2021-07-19 01:27:57');

-- --------------------------------------------------------

--
-- Table structure for table `contractors`
--

CREATE TABLE `contractors` (
  `id` int(11) NOT NULL,
  `first_name` varchar(250) DEFAULT NULL,
  `last_name` varchar(250) DEFAULT NULL,
  `email` varchar(250) DEFAULT NULL,
  `phone` varchar(250) DEFAULT NULL,
  `password` varchar(256) DEFAULT NULL,
  `expertise` varchar(255) DEFAULT NULL,
  `exprence` varchar(250) DEFAULT NULL,
  `licence_no` varchar(250) DEFAULT NULL,
  `latitude` varchar(250) DEFAULT NULL,
  `longitude` varchar(250) DEFAULT NULL,
  `address` varchar(250) DEFAULT NULL,
  `about_company` text DEFAULT NULL,
  `otp` varchar(250) DEFAULT NULL,
  `otp_validity` datetime DEFAULT NULL COMMENT 'otp valid till 5 min ',
  `image` varchar(256) DEFAULT NULL,
  `rate` float DEFAULT NULL,
  `rate_type` varchar(100) DEFAULT NULL,
  `device_id` varchar(250) DEFAULT NULL,
  `device_token` varchar(250) DEFAULT NULL,
  `device_type` varchar(250) DEFAULT NULL,
  `approval_status` int(11) NOT NULL DEFAULT 0 COMMENT '1=approve, 0= not approve',
  `status` int(11) NOT NULL DEFAULT 1 COMMENT '1=active, 0=inactive',
  `created_at` timestamp NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `contractors`
--

INSERT INTO `contractors` (`id`, `first_name`, `last_name`, `email`, `phone`, `password`, `expertise`, `exprence`, `licence_no`, `latitude`, `longitude`, `address`, `about_company`, `otp`, `otp_validity`, `image`, `rate`, `rate_type`, `device_id`, `device_token`, `device_type`, `approval_status`, `status`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 'Pradeep', 'Kushwaha', 'pradeep007@yopmail.com', '8888888888', '$2y$10$XTUv5WCwNMMUkgDG7NbvieTVnNKlYFLm4nN1u73IEBiY81EuiqFfy', 'Full stack developer', '5 Year', 'MHP123', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, '2021-05-31 08:38:24', '2021-06-01 10:09:39', '2021-06-01 15:39:39'),
(2, 'Asad', 'shaikh', 'asad007@yopmail.com', '0555555555', '$2y$10$Epduwx/D9WfVeg5OpMSlLuhfJdgn9iRoKZB6Px5WQy6F/sHLDCQru', 'Electronics gazette', '3 Year', 'MPL555', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, '2021-05-31 08:40:44', '2021-06-22 05:57:52', '2021-06-22 05:57:52'),
(3, 'Pr2', 'Ku12', 'pk1@yopmail.com', '0123654789', '7c222fb2927d828af22f592134e8932480637c0d', 'Electronics', '2 Year', 'MHP123', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, '2021-06-02 09:22:35', '2021-06-25 14:26:34', NULL),
(4, 'Abhi', 'Singh', 'testingqa2303@gmail.com', '9090897988', '$2y$10$4CdtfmtEYSiPWZNCTbf72OmsWkb6waKhtc4Z3el9jvkmKvnmbZsc2', 'Painting', '6', '444444', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, '2021-06-10 03:24:21', '2021-06-15 10:58:15', NULL),
(5, 'Abhi', 'Singh', 'testingqa23032@gmail.com', '9090897988', '$2y$10$Ekr.YFpcbX5rsOHy.122Zunlh89qIXvp4jcyZYpH1rgEqtj.15Yh6', 'Painting', '6', '444444', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, '2021-06-10 03:24:24', '2021-06-22 04:54:38', '2021-06-22 04:54:38'),
(6, 'pradeep', 'kushwaha', 'testingqa2@gmail.com', '1234564564', '$2y$10$yHy3kwSVlXpXsIK3035/VeU.biqCODC6CLlhl3rZDIDQUv5hAA4ly', '12', '5', '12121', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, '2021-06-15 10:56:29', '2021-06-17 13:13:23', NULL),
(9, 'pradeep', 'kushwaha', 'terst12@gmail.com', '08383855251', '88ea39439e74fa27c09a4fc0bc8ebe6d00978392', '12', '5 year', '12121', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, '2021-06-22 12:29:34', '2021-06-25 14:16:57', NULL),
(10, 'test123', 'kushwaha', 'tt2@gmail.com', '08383855251', '88ea39439e74fa27c09a4fc0bc8ebe6d00978392', '12', '5 year', '12121', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, '2021-06-22 12:32:46', '2021-06-22 12:32:46', NULL),
(11, 'test123', 'kushwaha', 'pkgmail@gmail.com', '1234567894', '7c222fb2927d828af22f592134e8932480637c0d', '12', '5 year', '12121', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, '2021-06-25 08:18:50', '2021-06-25 08:18:50', NULL);

-- --------------------------------------------------------

--
-- Table structure for table `contractor_app_settings`
--

CREATE TABLE `contractor_app_settings` (
  `id` int(11) NOT NULL,
  `contractor_id` int(11) NOT NULL,
  `new_inquiry` enum('YES','NO') COLLATE utf8mb4_unicode_ci NOT NULL,
  `new_alert` enum('YES','NO') COLLATE utf8mb4_unicode_ci NOT NULL,
  `job_completed` enum('YES','NO') COLLATE utf8mb4_unicode_ci NOT NULL,
  `job_started` enum('YES','NO') COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `contractor_service`
--

CREATE TABLE `contractor_service` (
  `id` int(11) NOT NULL,
  `contractor_id` int(11) DEFAULT NULL,
  `service_id` int(11) DEFAULT NULL,
  `status` varchar(250) DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT current_timestamp(),
  `created_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `contractor_service`
--

INSERT INTO `contractor_service` (`id`, `contractor_id`, `service_id`, `status`, `updated_at`, `created_at`) VALUES
(4, 2, 1, 'active', '2021-06-03 00:31:15', '2021-06-03 00:31:15'),
(5, 4, 1, 'active', '2021-06-10 03:24:21', '2021-06-10 03:24:21'),
(6, 5, 1, 'active', '2021-06-10 03:24:24', '2021-06-10 03:24:24'),
(9, 6, 2, 'active', '2021-06-17 13:13:23', '2021-06-17 13:13:23'),
(11, 9, 1, 'active', '2021-06-22 12:29:34', '2021-06-22 12:29:34'),
(12, 10, 2, 'active', '2021-06-22 12:32:46', '2021-06-22 12:32:46'),
(16, 3, 1, 'active', '2021-06-22 13:05:43', '2021-06-22 13:05:43'),
(17, 11, 1, 'active', '2021-06-25 08:18:50', '2021-06-25 08:18:50');

-- --------------------------------------------------------

--
-- Table structure for table `contractor_sub_category`
--

CREATE TABLE `contractor_sub_category` (
  `id` int(11) NOT NULL,
  `contractor_id` int(11) DEFAULT NULL,
  `contractor_service_id` int(11) DEFAULT NULL,
  `service_cat_id` int(11) DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT current_timestamp(),
  `created_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- --------------------------------------------------------

--
-- Table structure for table `conversation`
--

CREATE TABLE `conversation` (
  `id` int(11) NOT NULL,
  `sender_id` int(11) DEFAULT NULL,
  `reciver_id` int(11) DEFAULT NULL,
  `image` varchar(250) DEFAULT NULL,
  `status` varchar(250) DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- --------------------------------------------------------

--
-- Table structure for table `create_subscription_plan`
--

CREATE TABLE `create_subscription_plan` (
  `id` int(11) NOT NULL,
  `plane_name` varchar(250) NOT NULL,
  `description` varchar(250) DEFAULT NULL,
  `price` varchar(250) DEFAULT NULL,
  `discount_type` int(11) DEFAULT NULL COMMENT '1=percentage, 2= fixed',
  `discount_amount` float DEFAULT NULL,
  `frequency` int(11) DEFAULT NULL COMMENT '1=monthly, 2=quarterly, 3=half yearly, 4=yearly',
  `no_of_category` int(11) DEFAULT NULL,
  `status` int(11) NOT NULL DEFAULT 1 COMMENT '1=active,0=inactive',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `create_subscription_plan`
--

INSERT INTO `create_subscription_plan` (`id`, `plane_name`, `description`, `price`, `discount_type`, `discount_amount`, `frequency`, `no_of_category`, `status`, `created_at`, `updated_at`) VALUES
(1, 'Gold Membership', 'Gold Membership Description', '500', 1, 15, 1, 5, 1, '2021-06-03 07:44:10', '2021-06-03 20:05:22');

-- --------------------------------------------------------

--
-- Table structure for table `customers`
--

CREATE TABLE `customers` (
  `id` int(11) NOT NULL,
  `first_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `last_name` varchar(250) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `email_verified_at` timestamp NULL DEFAULT NULL,
  `password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `phone` varchar(250) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `device_id` varchar(250) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `device_token` varchar(250) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `device_type` varchar(250) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `fb_social_id` varchar(300) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `insta_social_id` varchar(300) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `apple_social_id` varchar(300) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `google_social_id` varchar(300) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `otp` varchar(250) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `otpverifyed` varchar(250) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `otp_validity` datetime DEFAULT NULL COMMENT 'otp valid till 5 min',
  `image` varchar(250) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `latitude` varchar(250) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `longitude` varchar(250) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL,
  `status` int(11) NOT NULL DEFAULT 1 COMMENT '1=active.,0=inactive'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `customers`
--

INSERT INTO `customers` (`id`, `first_name`, `last_name`, `email`, `email_verified_at`, `password`, `remember_token`, `phone`, `device_id`, `device_token`, `device_type`, `fb_social_id`, `insta_social_id`, `apple_social_id`, `google_social_id`, `otp`, `otpverifyed`, `otp_validity`, `image`, `latitude`, `longitude`, `created_at`, `updated_at`, `deleted_at`, `status`) VALUES
(14, 'Asad shaikh', 'shaikh', 'asad777@yopmail.com', NULL, 'ba61b4a397666a420958314a5b6aa58754f91534', NULL, '8826050648', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2021-06-24 11:03:32', '2021-07-02 05:52:21', NULL, 1),
(15, 'pradeep12', 'kushwaha13', 'asad11@yopmail.com', NULL, 'aba2dd327bbf677ba049ecc80102d1172cf61d47', NULL, '8383855123', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2021-06-30 13:51:38', '2021-07-02 08:56:30', NULL, 1),
(16, 'pradeep1', 'kushwaha2', 'pkkkk1@gmail.com', NULL, 'aba2dd327bbf677ba049ecc80102d1172cf61d47', NULL, '1212121213', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2021-06-30 13:56:40', '2021-07-02 08:39:17', NULL, 1),
(18, 'pradeep', 'kushwaha', 'pkkkk147@gmail.com', NULL, 'aba2dd327bbf677ba049ecc80102d1172cf61d47', NULL, '1234567892', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2021-06-30 14:21:27', '2021-06-30 14:21:27', NULL, 1),
(19, 'pradeep', 'kushwaha', 'pkkkk177@gmail.com', NULL, 'aba2dd327bbf677ba049ecc80102d1172cf61d47', NULL, '1234567824', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2021-06-30 14:22:29', '2021-06-30 14:22:29', NULL, 1),
(22, 'Pankaj', 'soni', 'pankaj07@yopmail.com', NULL, 'ba61b4a397666a420958314a5b6aa58754f91534', NULL, '5553337220', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2021-07-05 08:46:04', '2021-07-05 08:46:04', NULL, 1),
(23, 'user1', 'test', 'u1@yopmail.com', NULL, 'ba61b4a397666a420958314a5b6aa58754f91534', NULL, '1234567890', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2021-07-06 04:02:25', '2021-07-18 14:12:44', '2021-07-18 14:12:44', 1),
(34, 'kulbirKang', 'singh', 'kulbir@sparx.com', NULL, '1f0a174d71a703cd2f78299e5bf52c6bfd538a95', NULL, '9876543210', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'http://localhost:8080/storage/userProfile/8755339-1626240644.jpg', NULL, NULL, '2021-07-14 05:30:45', '2021-07-14 05:37:53', NULL, 1),
(38, 'Rakesh', 'Kumar', 'rakesh07@yopmail.com', NULL, 'ba61b4a397666a420958314a5b6aa58754f91534', NULL, '5553332220', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2021-07-18 13:31:22', '2021-07-18 13:31:22', NULL, 1),
(39, 'Rakesh', 'Kumar', 'rakesh071@yopmail.com', NULL, 'ba61b4a397666a420958314a5b6aa58754f91534', NULL, '5553332221', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2021-07-18 13:34:19', '2021-07-18 13:34:19', NULL, 1),
(40, 'Rakesh', 'Kumar', 'rakesh01@yopmail.com', NULL, 'ba61b4a397666a420958314a5b6aa58754f91534', NULL, '1245788956', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2021-07-18 13:36:23', '2021-07-18 13:36:23', NULL, 1);

-- --------------------------------------------------------

--
-- Table structure for table `customer_addresses`
--

CREATE TABLE `customer_addresses` (
  `id` int(11) NOT NULL,
  `customer_id` int(11) DEFAULT NULL,
  `is_default` tinyint(1) DEFAULT 0,
  `street_address` longtext DEFAULT NULL,
  `street_name` varchar(256) DEFAULT NULL,
  `apartment_number` varchar(256) DEFAULT NULL,
  `country` varchar(100) DEFAULT NULL,
  `state` varchar(250) DEFAULT NULL,
  `city` varchar(250) DEFAULT NULL,
  `location` varchar(250) DEFAULT NULL,
  `landmark` varchar(250) DEFAULT NULL,
  `pincode` varchar(250) DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `customer_addresses`
--

INSERT INTO `customer_addresses` (`id`, `customer_id`, `is_default`, `street_address`, `street_name`, `apartment_number`, `country`, `state`, `city`, `location`, `landmark`, `pincode`, `created_at`, `updated_at`) VALUES
(4, 1, 1, 'NK Mall Gorakhpur', 'Lane no 18', '150', 'India', 'UP', 'Gorakhpur', 'Near state bank of india', 'airport', '123456', '2021-07-18 15:20:03', '2021-07-19 03:19:18');

-- --------------------------------------------------------

--
-- Table structure for table `failed_jobs`
--

CREATE TABLE `failed_jobs` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `uuid` varchar(255) 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 `faqs`
--

CREATE TABLE `faqs` (
  `id` int(11) NOT NULL,
  `faqs_type` int(11) DEFAULT NULL,
  `question` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `answer` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `faqs` (`id`, `faqs_type`, `question`, `answer`, `created_at`, `updated_at`) VALUES
(1, 1, 'What is FAQ ?', 'FAQ stands for “Frequently Asked Questions.” An FAQ is a list of commonly asked questions and answers on a website about topics such as hours, shipping and handling, product information, and return policies', '2021-06-18 10:48:40', '2021-06-18 10:48:40');

-- --------------------------------------------------------

--
-- Table structure for table `inquery`
--

CREATE TABLE `inquery` (
  `id` int(11) NOT NULL,
  `user_id` int(11) DEFAULT NULL,
  `question` longtext DEFAULT NULL,
  `service_id` int(11) DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `inquery`
--

INSERT INTO `inquery` (`id`, `user_id`, `question`, `service_id`, `created_at`, `updated_at`) VALUES
(1, 2, 'Hello,\r\nPlease tell me the price of Ac Service.', 1, '2021-06-04 06:39:01', NULL),
(2, 3, 'Hello,\r\nPlease tell me the price of Ac Service.', 1, '2021-06-04 06:39:10', NULL);

-- --------------------------------------------------------

--
-- Table structure for table `job_tracking`
--

CREATE TABLE `job_tracking` (
  `id` int(11) NOT NULL,
  `booking_id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  `contractor_id` int(11) NOT NULL,
  `job_started` datetime DEFAULT NULL,
  `job_end` datetime DEFAULT NULL,
  `status` enum('1','2','3','4','5') DEFAULT NULL COMMENT '''confirmed'',''on the way'',''in process'',''completed'', ''cancelled''',
  `reason` longtext DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `job_tracking`
--

INSERT INTO `job_tracking` (`id`, `booking_id`, `user_id`, `contractor_id`, `job_started`, `job_end`, `status`, `reason`, `created_at`, `updated_at`) VALUES
(1, 15, 14, 1, NULL, NULL, '1', NULL, '2021-06-25 15:06:12', '2021-06-25 15:06:12'),
(2, 16, 14, 1, NULL, NULL, '1', NULL, '2021-06-25 15:10:57', '2021-06-25 15:10:57'),
(3, 17, 14, 2, NULL, NULL, '1', NULL, '2021-07-03 02:30:27', '2021-07-03 02:30:27');

-- --------------------------------------------------------

--
-- Table structure for table `migrations`
--

CREATE TABLE `migrations` (
  `id` int(10) UNSIGNED NOT NULL,
  `migration` varchar(255) 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, '2016_06_01_000001_create_oauth_auth_codes_table', 1),
(4, '2016_06_01_000002_create_oauth_access_tokens_table', 1),
(5, '2016_06_01_000003_create_oauth_refresh_tokens_table', 1),
(6, '2016_06_01_000004_create_oauth_clients_table', 1),
(7, '2016_06_01_000005_create_oauth_personal_access_clients_table', 1),
(8, '2019_08_19_000000_create_failed_jobs_table', 1),
(9, '2021_05_11_131057_create_permission_tables', 1);

-- --------------------------------------------------------

--
-- Table structure for table `my_favourites`
--

CREATE TABLE `my_favourites` (
  `id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  `contractor_id` int(11) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `my_favourites`
--

INSERT INTO `my_favourites` (`id`, `user_id`, `contractor_id`, `created_at`, `updated_at`) VALUES
(2, 1, 1, '2021-06-18 04:48:01', '2021-06-18 04:48:01'),
(3, 1, 2, '2021-06-22 07:02:24', '2021-06-22 07:02:24');

-- --------------------------------------------------------

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

CREATE TABLE `notifications` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `user_type` enum('customer','contractor','vendor','admin') COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `notifiable_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `notifiable_id` bigint(20) UNSIGNED NOT NULL,
  `data` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `read_at` timestamp NULL 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 `notifications`
--

INSERT INTO `notifications` (`id`, `user_type`, `type`, `notifiable_type`, `notifiable_id`, `data`, `read_at`, `created_at`, `updated_at`) VALUES
('0d304f79-f544-47ed-aca7-07ea6260d958', 'customer', 'App\\Notifications\\CreateNewUserNotification', 'App\\Models\\User', 34, '{\"user_type\":\"customer\",\"data\":{\"greeting\":\"Hi KulbirSingh!\",\"body\":\"Your email : kulbir12@gmail.com and your login password is : kulbir@1A\",\"database_notification_message\":\"New user has been created successfully.\",\"thanks\":\"Welcome to ZION!!\"}}', NULL, '2021-07-14 05:30:47', '2021-07-14 05:30:47'),
('17d90e72-67cc-4a2a-8832-d0e02fd6445a', 'customer', 'App\\Notifications\\CreateNewUserNotification', 'App\\Models\\User', 9, '{\"user_type\":\"customer\",\"data\":{\"greeting\":\"Hi KulbirSingh!\",\"body\":\"Your email : kulbir12@gmail.com and your login password is : kulbir@1A\",\"database_notification_message\":\"New user has been created successfully.\",\"thanks\":\"Welcome to ZION!!\"}}', NULL, '2021-07-15 05:44:52', '2021-07-15 05:44:53'),
('1e6dd4d9-1914-424b-baaa-87a67bb89e53', 'customer', 'App\\Notifications\\CreateNewUserNotification', 'App\\Models\\User', 12, '{\"user_type\":\"customer\",\"data\":{\"greeting\":\"Hi Super!\",\"body\":\"Your email : sean@sparxitsolutions.com and your login password is : Sparx@123\",\"database_notification_message\":\"New user has been created successfully.\",\"thanks\":\"Welcome to ZION!!\"}}', NULL, '2021-07-17 02:50:13', '2021-07-17 02:50:13'),
('1fef0273-af55-4797-840c-5b68174723c9', 'customer', 'App\\Notifications\\CreateNewUserNotification', 'App\\Models\\User', 31, '{\"user_type\":\"customer\",\"data\":{\"greeting\":\"Hi KulbirSingh!\",\"body\":\"Your email : kulbir12@gmail.com and your login password is : kulbir@1A\",\"database_notification_message\":\"New user has been created successfully.\",\"thanks\":\"Welcome to ZION!!\"}}', NULL, '2021-07-14 05:26:25', '2021-07-14 05:26:25'),
('25d9f665-e4d9-47dd-b014-9020f87f5aba', 'customer', 'App\\Notifications\\CreateNewUserNotification', 'App\\Models\\Users\\User', 13, '{\"user_type\":\"customer\",\"data\":{\"greeting\":\"Hi RAKESH!\",\"body\":\"Your email : info.rakeshpatel@gmail.com and your login password is : Sean@9211\",\"database_notification_message\":\"New user has been created successfully.\",\"thanks\":\"Welcome to ZION!!\"}}', NULL, '2021-07-18 07:15:10', '2021-07-18 07:15:10'),
('2943bad3-b3d8-4c48-b7ef-49d5aab90267', 'customer', 'Modules\\User\\Notifications\\NewUserNotification', 'Modules\\User\\Entities\\Customer', 13, '{\"data\":{\"greeting\":\"Hi !\",\"body\":\"Your email : dd@gmail.com and your login password is : 12345678\",\"database_notification_message\":\"User has been updated successfully.\",\"thanks\":\"Welcome to ZION!!\"}}', NULL, '2021-06-22 11:16:07', '2021-06-22 11:16:07'),
('2b9cad03-5e61-48c6-8c52-f01aafeb6af0', 'customer', 'Modules\\Contractors\\Notifications\\NewContractorNotification', 'Modules\\Contractors\\Entities\\Contractor', 4, '{\"data\":{\"greeting\":\"Hi Abhi!\",\"body\":\"Your email : testingqa2303@gmail.com and your login password is : aaaaaa@2\",\"database_notification_message\":\"New contractor has been created successfully.\",\"thanks\":\"Welcome to ZION!!\"}}', NULL, '2021-06-10 03:24:25', '2021-06-10 03:24:25'),
('2d7a1559-7281-4a79-a27a-85b22366b443', 'customer', 'App\\Notifications\\CreateNewUserNotification', 'App\\Models\\User', 7, '{\"user_type\":\"customer\",\"data\":{\"greeting\":\"Hi KulbirSingh!\",\"body\":\"Your email : kulbir12@gmail.com and your login password is : kulbir@1A\",\"database_notification_message\":\"New user has been created successfully.\",\"thanks\":\"Welcome to ZION!!\"}}', NULL, '2021-07-14 08:33:17', '2021-07-14 08:33:17'),
('38efc8be-0faf-46aa-83ca-5420e24dc173', 'customer', 'Modules\\Contractors\\Notifications\\NewContractorNotification', 'Modules\\Contractors\\Entities\\Contractor', 5, '{\"data\":{\"greeting\":\"Hi Abhi!\",\"body\":\"Your email : testingqa2303@gmail.com and your login password is : aaaaaa@2\",\"database_notification_message\":\"New contractor has been created successfully.\",\"thanks\":\"Welcome to ZION!!\"}}', NULL, '2021-06-10 03:24:28', '2021-06-10 03:24:28'),
('41089636-c05a-45ba-a025-1bf2a0dd25b6', 'customer', 'Modules\\Contractors\\Notifications\\NewContractorNotification', 'Modules\\Contractors\\Entities\\Contractor', 10, '{\"data\":{\"greeting\":\"Hi test123!\",\"body\":\"Your email : tt2@gmail.com and your login password is : 123123123\",\"database_notification_message\":\"New contractor has been created successfully.\",\"thanks\":\"Welcome to ZION!!\"}}', NULL, '2021-06-22 12:32:51', '2021-06-22 12:32:51'),
('4b6f142b-9cef-4f6d-8179-09759b08ad69', 'customer', 'App\\Notifications\\CreateNewUserNotification', 'App\\Models\\User', 22, '{\"user_type\":\"customer\",\"data\":{\"greeting\":\"Hi Pankaj!\",\"body\":\"Your email : pankaj07@yopmail.com and your login password is : Asad@12345\",\"database_notification_message\":\"New user has been created successfully.\",\"thanks\":\"Welcome to ZION!!\"}}', NULL, '2021-07-05 08:46:04', '2021-07-05 08:46:04'),
('4ee4c5f8-58e6-4c6e-9dcf-3f1c9cd88f66', 'customer', 'Modules\\User\\Notifications\\NewUserNotification', 'Modules\\User\\Entities\\User', 7, '{\"data\":{\"greeting\":\"Hi Asad khan khan!\",\"body\":\"Your email : asad7223@gmail.com and your login password is : \",\"database_notification_message\":\"User has been updated successfully.\",\"thanks\":\"Welcome to ZION!!\"}}', NULL, '2021-06-02 08:41:02', '2021-06-02 08:41:02'),
('4f3426cd-3bdb-47a3-a046-16ea4c32fdee', 'customer', 'App\\Notifications\\CreateNewUserNotification', 'App\\Models\\User', 7, '{\"user_type\":\"customer\",\"data\":{\"greeting\":\"Hi Rakesh!\",\"body\":\"Your email : rakesh@sparxitsolutions.com and your login password is : Sparx@123\",\"database_notification_message\":\"New user has been created successfully.\",\"thanks\":\"Welcome to ZION!!\"}}', NULL, '2021-07-17 06:03:06', '2021-07-17 06:03:06'),
('53e9a3b5-0bb6-4ce1-a4d5-67b6693954e2', 'customer', 'App\\Notifications\\CreateNewUserNotification', 'App\\Models\\User', 23, '{\"user_type\":\"customer\",\"data\":{\"greeting\":\"Hi user1!\",\"body\":\"Your email : u1@yopmail.com and your login password is : Asad@12345\",\"database_notification_message\":\"New user has been created successfully.\",\"thanks\":\"Welcome to ZION!!\"}}', NULL, '2021-07-06 04:02:25', '2021-07-06 04:02:25'),
('5c4e177a-14f1-4431-933b-e555da98cdc1', 'customer', 'Modules\\User\\Notifications\\NewUserNotification', 'Modules\\User\\Entities\\User', 7, '{\"data\":{\"greeting\":\"Hi Asad khan shaikh!\",\"body\":\"Your email : asad7223@gmail.com and your login password is : Asad@12345\",\"database_notification_message\":\"User has been updated successfully.\",\"thanks\":\"Welcome to ZION!!\"}}', NULL, '2021-06-02 08:57:46', '2021-06-02 08:57:46'),
('5ec6e5ba-e8af-4fb2-bc02-fc540a89f948', 'customer', 'App\\Notifications\\CreateNewUserNotification', 'App\\Models\\User', 28, '{\"user_type\":\"customer\",\"data\":{\"greeting\":\"Hi KulbirSingh!\",\"body\":\"Your email : kulbir@gmail.com and your login password is : kulbir@1A\",\"database_notification_message\":\"New user has been created successfully.\",\"thanks\":\"Welcome to ZION!!\"}}', NULL, '2021-07-14 05:03:21', '2021-07-14 05:03:21'),
('6aa7d8d8-daa1-4cd4-a602-29e516dc3105', 'customer', 'App\\Notifications\\CreateNewUserNotification', 'App\\Models\\User', 25, '{\"user_type\":\"customer\",\"data\":{\"greeting\":\"Hi kulbir!\",\"body\":\"Your email : kulbir@sparx.com and your login password is : kulbir@1A\",\"database_notification_message\":\"New user has been created successfully.\",\"thanks\":\"Welcome to ZION!!\"}}', NULL, '2021-07-13 07:48:47', '2021-07-13 07:48:47'),
('6b257b2f-a26b-4909-944e-8384bd0560d4', 'customer', 'App\\Notifications\\CreateNewUserNotification', 'App\\Models\\User', 29, '{\"user_type\":\"customer\",\"data\":{\"greeting\":\"Hi KulbirSingh!\",\"body\":\"Your email : kulbir12@gmail.com and your login password is : kulbir@1A\",\"database_notification_message\":\"New user has been created successfully.\",\"thanks\":\"Welcome to ZION!!\"}}', NULL, '2021-07-14 05:06:13', '2021-07-14 05:06:13'),
('708c39e4-fede-4e0b-bce7-c48e6fc78775', 'customer', 'Modules\\User\\Notifications\\NewUserNotification', 'Modules\\User\\Entities\\User', 8, '{\"data\":{\"greeting\":\"Hi Abhi!\",\"body\":\"Your email : testingqa23@gmail.com and your login password is : aaaaaa@2\",\"database_notification_message\":\"New user has been created successfully.\",\"thanks\":\"Welcome to ZION!!\"}}', NULL, '2021-06-10 01:44:29', '2021-06-10 01:44:29'),
('733d53c9-42f5-4a6a-9ff6-ebd7bace6189', NULL, 'App\\Notifications\\CreateNewUserNotification', 'App\\Models\\Customers\\Customer', 39, '{\"user_type\":3,\"data\":{\"greeting\":\"Hi Rakesh!\",\"body\":\"Your email : rakesh071@yopmail.com and your login password is : Asad@12345\",\"database_notification_message\":\"New user has been created successfully.\",\"thanks\":\"Welcome to ZION!!\"}}', NULL, '2021-07-18 13:34:19', '2021-07-18 13:34:19'),
('7c346c6d-448a-447a-b28d-ef95adb843c9', 'customer', 'Modules\\Contractors\\Notifications\\NewContractorNotification', 'Modules\\Contractors\\Entities\\Contractor', 3, '{\"data\":{\"greeting\":\"Hi A!\",\"body\":\"Your email : asad.mfe@gmail.com and your login password is : Asad@1111\",\"database_notification_message\":\"New contractor has been created successfully.\",\"thanks\":\"Welcome to ZION!!\"}}', NULL, '2021-06-02 09:22:39', '2021-06-02 09:22:39'),
('7c60e1ba-659f-401c-aa86-dbaf7f6dc6d8', 'customer', 'Modules\\Contractors\\Notifications\\NewContractorNotification', 'Modules\\Contractors\\Entities\\Contractor', 3, '{\"data\":{\"greeting\":\"Hi Pradeep12!\",\"body\":\"Your email : pk1@yopmail.com and your login password is : 12345678\",\"database_notification_message\":\"New contractor has been created successfully.\",\"thanks\":\"Welcome to ZION!!\"}}', NULL, '2021-06-22 13:00:38', '2021-06-22 13:00:38'),
('7f3df6c8-95f0-4115-a13e-823e6097d5ad', NULL, 'App\\Notifications\\CreateNewUserNotification', 'App\\Models\\Customers\\Customer', 38, '{\"user_type\":3,\"data\":{\"greeting\":\"Hi Rakesh!\",\"body\":\"Your email : rakesh07@yopmail.com and your login password is : Asad@12345\",\"database_notification_message\":\"New user has been created successfully.\",\"thanks\":\"Welcome to ZION!!\"}}', NULL, '2021-07-18 13:31:22', '2021-07-18 13:31:22'),
('7f8a1430-f064-4893-8640-897fc7fd3a73', 'customer', 'App\\Notifications\\CreateNewUserNotification', 'App\\Models\\User', 33, '{\"user_type\":\"customer\",\"data\":{\"greeting\":\"Hi KulbirSingh!\",\"body\":\"Your email : kulbir12@gmail.com and your login password is : kulbir@1A\",\"database_notification_message\":\"New user has been created successfully.\",\"thanks\":\"Welcome to ZION!!\"}}', NULL, '2021-07-14 05:29:45', '2021-07-14 05:29:45'),
('83275e3c-902b-4bad-a9a6-fc5b796ab6ef', 'customer', 'App\\Notifications\\CreateNewUserNotification', 'App\\Models\\User', 8, '{\"user_type\":\"customer\",\"data\":{\"greeting\":\"Hi Rakesh!\",\"body\":\"Your email : raakesh@sparxitsolutions.com and your login password is : Sparx@123\",\"database_notification_message\":\"New user has been created successfully.\",\"thanks\":\"Welcome to ZION!!\"}}', NULL, '2021-07-17 06:14:45', '2021-07-17 06:14:45'),
('88898a07-0f73-4144-ba3d-9fe293af3749', 'customer', 'App\\Notifications\\CreateNewUserNotification', 'App\\Models\\User', 32, '{\"user_type\":\"customer\",\"data\":{\"greeting\":\"Hi KulbirSingh!\",\"body\":\"Your email : kulbir12@gmail.com and your login password is : kulbir@1A\",\"database_notification_message\":\"New user has been created successfully.\",\"thanks\":\"Welcome to ZION!!\"}}', NULL, '2021-07-14 05:28:43', '2021-07-14 05:28:44'),
('88ca71f9-2619-4f9d-9358-73725794ea2d', 'customer', 'App\\Notifications\\CreateNewUserNotification', 'App\\Models\\User', 11, '{\"user_type\":\"customer\",\"data\":{\"greeting\":\"Hi KulbirSingh!\",\"body\":\"Your email : kulbir52@gmail.com and your login password is : kulbir@1A\",\"database_notification_message\":\"New user has been created successfully.\",\"thanks\":\"Welcome to ZION!!\"}}', NULL, '2021-07-16 10:34:16', '2021-07-16 10:34:16'),
('90212dfb-49fb-4ce9-9849-06a092ccb31c', 'customer', 'App\\Notifications\\CreateNewUserNotification', 'App\\Models\\User', 6, '{\"user_type\":\"customer\",\"data\":{\"greeting\":\"Hi Rakesh!\",\"body\":\"Your email : rakesh.kumar@sparxitsolutions.com and your login password is : Sparx@123\",\"database_notification_message\":\"New user has been created successfully.\",\"thanks\":\"Welcome to ZION!!\"}}', NULL, '2021-07-17 05:39:19', '2021-07-17 05:39:19'),
('930c86da-6693-4a6b-a015-43b98a9e1bcd', 'customer', 'App\\Notifications\\CreateNewUserNotification', 'App\\Models\\Users\\User', 12, '{\"user_type\":\"customer\",\"data\":{\"greeting\":\"Hi Sean!\",\"body\":\"Your email : demo2s@sparxitsolutions.com and your login password is : Sparx@123\",\"database_notification_message\":\"New user has been created successfully.\",\"thanks\":\"Welcome to ZION!!\"}}', NULL, '2021-07-18 06:56:24', '2021-07-18 06:56:24'),
('96c3a915-a7bd-404c-9e85-89050014db25', 'customer', 'Modules\\User\\Notifications\\NewUserNotification', 'Modules\\User\\Entities\\User', 7, '{\"data\":{\"greeting\":\"Hi Asad khan khan!\",\"body\":\"Your email : asad7223@gmail.com and your login password is : Asad@1234\",\"database_notification_message\":\"User has been updated successfully.\",\"thanks\":\"Welcome to ZION!!\"}}', NULL, '2021-06-02 08:46:30', '2021-06-02 08:46:30'),
('97a9f0be-e75c-4cd7-a52e-4cb48ffaade7', 'customer', 'App\\Notifications\\CreateNewUserNotification', 'App\\Models\\User', 6, '{\"user_type\":\"customer\",\"data\":{\"greeting\":\"Hi KulbirSingh!\",\"body\":\"Your email : kulbir12@gmail.com and your login password is : kulbir@1A\",\"database_notification_message\":\"New user has been created successfully.\",\"thanks\":\"Welcome to ZION!!\"}}', NULL, '2021-07-14 08:32:04', '2021-07-14 08:32:04'),
('9f5ccc02-e25a-4db5-9fc0-4d57eeeadb95', 'customer', 'Modules\\Contractors\\Notifications\\NewContractorNotification', 'Modules\\Contractors\\Entities\\Contractor', 7, '{\"data\":{\"greeting\":\"Hi ghhhbhkj!\",\"body\":\"Your email : bmbbbh@gmail.com and your login password is : aaaaaaaa\",\"database_notification_message\":\"New contractor has been created successfully.\",\"thanks\":\"Welcome to ZION!!\"}}', NULL, '2021-06-16 10:44:25', '2021-06-16 10:44:25'),
('a2ff8728-94cb-44e2-9c5d-8750b248735d', 'vendor', 'App\\Notifications\\CreateNewUserNotification', 'App\\Models\\Vendors\\Vendor', 12, '{\"user_type\":3,\"data\":{\"greeting\":\"Hi Rakesh!\",\"body\":\"Your email : rakesh01@yopmail.com and your login password is : Asad@12345\",\"database_notification_message\":\"New user has been created successfully.\",\"thanks\":\"Welcome to ZION!!\"}}', NULL, '2021-07-18 15:55:34', '2021-07-18 15:55:34'),
('a306259c-4ff2-4fa5-b4f8-71f03840fb4b', 'customer', 'App\\Notifications\\CreateNewUserNotification', 'App\\Models\\User', 10, '{\"user_type\":\"customer\",\"data\":{\"greeting\":\"Hi Sean!\",\"body\":\"Your email : demo@sparxitsolutions.com and your login password is : Sparx@123\",\"database_notification_message\":\"New user has been created successfully.\",\"thanks\":\"Welcome to ZION!!\"}}', NULL, '2021-07-17 12:31:56', '2021-07-17 12:31:56'),
('a835677c-9880-40c7-a817-e0d4c0858286', 'customer', 'Modules\\Contractors\\Notifications\\NewContractorNotification', 'Modules\\Contractors\\Entities\\Contractor', 6, '{\"data\":{\"greeting\":\"Hi pradeep!\",\"body\":\"Your email : testingqa2303@gmail.com and your login password is : 12345678\",\"database_notification_message\":\"New contractor has been created successfully.\",\"thanks\":\"Welcome to ZION!!\"}}', NULL, '2021-06-15 10:56:33', '2021-06-15 10:56:33'),
('b7ed93e3-bc5b-4b3c-a6b9-90e902f780a0', 'customer', 'App\\Notifications\\CreateNewUserNotification', 'App\\Models\\User', 11, '{\"user_type\":\"customer\",\"data\":{\"greeting\":\"Hi Sean!\",\"body\":\"Your email : demo2@sparxitsolutions.com and your login password is : Sparx@123\",\"database_notification_message\":\"New user has been created successfully.\",\"thanks\":\"Welcome to ZION!!\"}}', NULL, '2021-07-17 16:01:19', '2021-07-17 16:01:19'),
('b973d151-b3cf-4da0-8725-bed3ae336a4b', 'customer', 'Modules\\Contractors\\Notifications\\NewContractorNotification', 'Modules\\Contractors\\Entities\\Contractor', 9, '{\"data\":{\"greeting\":\"Hi pradeep!\",\"body\":\"Your email : terst12@gmail.com and your login password is : 123123123\",\"database_notification_message\":\"New contractor has been created successfully.\",\"thanks\":\"Welcome to ZION!!\"}}', NULL, '2021-06-22 12:29:38', '2021-06-22 12:29:38'),
('c0feb0ce-281b-4928-83b6-9ccc58b4094f', 'customer', 'Modules\\Contractors\\Notifications\\NewContractorNotification', 'Modules\\Contractors\\Entities\\Contractor', 11, '{\"data\":{\"greeting\":\"Hi test123!\",\"body\":\"Your email : pkgmail@gmail.com and your login password is : 12345678\",\"database_notification_message\":\"New contractor has been created successfully.\",\"thanks\":\"Welcome to ZION!!\"}}', NULL, '2021-06-25 08:18:54', '2021-06-25 08:18:54'),
('d7454772-c326-4299-b6fe-21d3a767778a', 'customer', 'Modules\\User\\Notifications\\NewUserNotification', 'Modules\\User\\Entities\\User', 6, '{\"data\":{\"greeting\":\"Hi A shaikh!\",\"body\":\"Your email : asad111@yopmail.com and your login password is : 12345678\",\"database_notification_message\":\"New user has been created successfully.\",\"thanks\":\"Welcome to ZION!!\"}}', NULL, '2021-06-02 08:25:58', '2021-06-02 08:25:58'),
('d8c8db73-c490-479c-bffc-9e4f4cf9612b', 'customer', 'App\\Notifications\\CreateNewUserNotification', 'App\\Models\\User', 5, '{\"user_type\":\"customer\",\"data\":{\"greeting\":\"Hi KulbirSingh!\",\"body\":\"Your email : kulbir12@gmail.com and your login password is : kulbir@1A\",\"database_notification_message\":\"New user has been created successfully.\",\"thanks\":\"Welcome to ZION!!\"}}', NULL, '2021-07-14 08:30:14', '2021-07-14 08:30:14'),
('dc234d1a-7d30-4a46-8ec9-2d1143e5b8a1', 'customer', 'Modules\\User\\Notifications\\NewUserNotification', 'Modules\\User\\Entities\\User', 7, '{\"data\":{\"greeting\":\"Hi Asad khan!\",\"body\":\"Your email : asad7223@gmail.com and your login password is : 12345678\",\"database_notification_message\":\"New user has been created successfully.\",\"thanks\":\"Welcome to ZION!!\"}}', NULL, '2021-06-02 08:27:51', '2021-06-02 08:27:51'),
('e405eded-e1fa-4f07-833b-e1c019d1f629', 'customer', 'Modules\\Contractors\\Notifications\\NewContractorNotification', 'Modules\\Contractors\\Entities\\Contractor', 3, '{\"data\":{\"greeting\":\"Hi Pr2!\",\"body\":\"Your email : pk1@yopmail.com and your login password is : 12345678\",\"database_notification_message\":\"New contractor has been created successfully.\",\"thanks\":\"Welcome to ZION!!\"}}', NULL, '2021-06-22 13:05:47', '2021-06-22 13:05:47'),
('e888eeda-bdbd-41bb-92d3-5da2812fd4b6', 'customer', 'App\\Notifications\\CreateNewUserNotification', 'App\\Models\\User', 30, '{\"user_type\":\"customer\",\"data\":{\"greeting\":\"Hi KulbirSingh!\",\"body\":\"Your email : kulbir12@gmail.com and your login password is : kulbir@1A\",\"database_notification_message\":\"New user has been created successfully.\",\"thanks\":\"Welcome to ZION!!\"}}', NULL, '2021-07-14 05:24:51', '2021-07-14 05:24:51'),
('ea665b21-1201-47d2-9f55-c3c1742f78c2', 'customer', 'App\\Notifications\\CreateNewUserNotification', 'App\\Models\\Customers\\Customer', 40, '{\"user_type\":3,\"data\":{\"greeting\":\"Hi Rakesh!\",\"body\":\"Your email : rakesh01@yopmail.com and your login password is : Asad@12345\",\"database_notification_message\":\"New user has been created successfully.\",\"thanks\":\"Welcome to ZION!!\"}}', NULL, '2021-07-18 13:36:23', '2021-07-18 13:36:23'),
('ebb237a5-e867-464f-97bf-ce65e34ac3f0', 'customer', 'App\\Notifications\\CreateNewUserNotification', 'App\\Models\\User', 9, '{\"user_type\":\"customer\",\"data\":{\"greeting\":\"Hi fdgfdg!\",\"body\":\"Your email : info.rakeshpatel@gmail.com and your login password is : Sean@9211\",\"database_notification_message\":\"New user has been created successfully.\",\"thanks\":\"Welcome to ZION!!\"}}', NULL, '2021-07-17 06:58:24', '2021-07-17 06:58:24'),
('f049c456-bdc0-4834-94d8-2644151bbe6f', 'customer', 'App\\Notifications\\CreateNewUserNotification', 'App\\Models\\User', 20, '{\"user_type\":\"customer\",\"data\":{\"greeting\":\"Hi Rakesh!\",\"body\":\"Your email : rakesh07@yopmail.com and your login password is : Asad@12345\",\"database_notification_message\":\"New user has been created successfully.\",\"thanks\":\"Welcome to ZION!!\"}}', NULL, '2021-07-03 02:02:15', '2021-07-03 02:02:15'),
('f23348b9-d639-4fe5-97fb-ffe8d92db60c', 'customer', 'Modules\\User\\Notifications\\NewUserNotification', 'Modules\\User\\Entities\\Customer', 13, '{\"data\":{\"greeting\":\"Hi Samya!\",\"body\":\"Your email : dd@gmail.com and your login password is : 1234567890\",\"database_notification_message\":\"New user has been created successfully.\",\"thanks\":\"Welcome to ZION!!\"}}', NULL, '2021-06-22 11:02:31', '2021-06-22 11:02:31'),
('f2c007c5-0146-4fd2-9898-88afef8bbf37', 'customer', 'App\\Notifications\\CreateNewUserNotification', 'App\\Models\\User', 10, '{\"user_type\":\"customer\",\"data\":{\"greeting\":\"Hi KulbirSingh!\",\"body\":\"Your email : kulbir12@gmail.com and your login password is : kulbir@1A\",\"database_notification_message\":\"New user has been created successfully.\",\"thanks\":\"Welcome to ZION!!\"}}', NULL, '2021-07-15 08:29:32', '2021-07-15 08:29:32'),
('f8016fa9-9372-4d88-9a30-0d1602d6affa', 'customer', 'App\\Notifications\\CreateNewUserNotification', 'App\\Models\\Customer', 35, '{\"user_type\":\"customer\",\"data\":{\"greeting\":\"Hi kulbir!\",\"body\":\"Your email : kulbir123@gmail.com and your login password is : kulbir@123A\",\"database_notification_message\":\"New user has been created successfully.\",\"thanks\":\"Welcome to ZION!!\"}}', NULL, '2021-07-15 11:37:41', '2021-07-15 11:37:41'),
('f806fc3d-1b59-4d37-86d2-306d76a1032e', 'customer', 'App\\Notifications\\CreateNewUserNotification', 'App\\Models\\User', 21, '{\"user_type\":\"customer\",\"data\":{\"greeting\":\"Hi Sean!\",\"body\":\"Your email : sean@sparxitsolutions.com and your login password is : Sean@123\",\"database_notification_message\":\"New user has been created successfully.\",\"thanks\":\"Welcome to ZION!!\"}}', NULL, '2021-07-03 14:34:14', '2021-07-03 14:34:14'),
('fe2722ea-24c5-40cf-b3a4-6a34b7dad0a5', 'customer', 'App\\Notifications\\CreateNewUserNotification', 'App\\Models\\User', 8, '{\"user_type\":\"customer\",\"data\":{\"greeting\":\"Hi KulbirSingh!\",\"body\":\"Your email : kulbir12@gmail.com and your login password is : kulbir@1A\",\"database_notification_message\":\"New user has been created successfully.\",\"thanks\":\"Welcome to ZION!!\"}}', NULL, '2021-07-15 04:30:30', '2021-07-15 04:30:30');

-- --------------------------------------------------------

--
-- Table structure for table `oauth_access_tokens`
--

CREATE TABLE `oauth_access_tokens` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `access_token` longblob DEFAULT NULL,
  `client_id` varchar(80) NOT NULL,
  `user_id` varchar(80) DEFAULT NULL,
  `expires` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `scope` varchar(4000) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `oauth_access_tokens`
--

INSERT INTO `oauth_access_tokens` (`id`, `access_token`, `client_id`, `user_id`, `expires`, `scope`) VALUES
(1, 0x65794a30655841694f694a4b563151694c434a68624763694f694a53557a49314e694a392e65794a705a434936496a637a4f544930596d4d774f574d784e7a41794f544e69597a4533595463784e324d794d574d334d57466a4d6a4d304e444930593255694c434a7164476b694f6949334d7a6b794e474a6a4d446c6a4d5463774d6a6b7a596d4d784e3245334d54646a4d6a466a4e7a4668597a497a4e4451794e474e6c4969776961584e7a496a6f69496977695958566b496a6f695a6d4d304e7a41314d47566b596a4d304e5451315a445669597a46694d7a45334d444d304d7a59794d7a51694c434a7a645749694f694978496977695a586877496a6f784e6a49324e6a49344d6a4d794c434a70595851694f6a45324d6a59324d6a51324d7a4973496e52766132567558335235634755694f694a695a5746795a5849694c434a7a593239775a534936496d4e68644746736232637563484a765a48566a64484d755a4756735a58526c49474e68644746736232637563484a765a48566a64484d75636d56685a43426a595852686247396e4c6e4279623252315933527a4c6e64796158526c49474e3163335276625756796379356b5a57786c644755675933567a644739745a584a7a4c6e4a6c595751675933567a644739745a584a7a4c6e64796158526c4947356c64334e735a5852305a584a7a4c6d526c624756305a5342755a58647a6247563064475679637935795a57466b4947356c64334e735a5852305a584a7a4c6e64796158526c49484279623252315933527a4c6d4e686447566e62334a705a584d755a4756735a58526c49484279623252315933527a4c6d4e686447566e62334a705a584d75636d56685a434277636d396b64574e306379356a5958526c5a3239796157567a4c6e64796158526c49484279623252315933527a4c6e4a6c646d6c6c64334d755a4756735a58526c49484279623252315933527a4c6e4a6c646d6c6c64334d75636d56685a434277636d396b64574e30637935795a585a705a58647a4c6e64796158526c49484a6c6347397964484d755a4756735a58526c49484a6c6347397964484d75636d56685a4342795a584276636e527a4c6e64796158526c49484a766247567a4c6d526c624756305a5342796232786c637935795a57466b49484a766247567a4c6e64796158526c49484e686247567a4c6d39795a4756796379356b5a57786c64475567633246735a584d7562334a6b5a584a7a4c6e4a6c59575167633246735a584d7562334a6b5a584a7a4c6e64796158526c49484e6a6233426c637935795a57466b4948567a5a584a7a4c6d526c624756305a53423163325679637935795a57466b4948567a5a584a7a4c6e64796158526c49485a6c626d5276636e4d755a4756735a58526c49485a6c626d5276636e4d75636d56685a4342325a57356b62334a7a4c6e64796158526c496e302e4f387748395131367066314a356e7a6a657a4d4a72507758675050363765504b5f7969725a766f356e436f4b746170734d7a36727338695f7a666d445651336a67707272614572675975583279715f675f76676a38725a4559754d50452d4d6b4353734b5f6e625a397a5836527543587a4b31786e633078576471335f4f496336385766615772465a43354447734873505f6b574254534b517551444157634e4d586f376837534d44527a484f6153424c733931726c5a51465853547a3754344f31636b342d394942323545456172414b46386d7a4c4d6350594b6944526d4a656866596b3939674f554431344d6c4e447a72386d6b684e516e66596954354d6f4a48396676734a30633961773377624f5663486f5048534b6b5676597959394d3339436839585a3350697868624e443231542d4b4272624758584d49665346524b2d3375683375652d70346342536a43466c596c51, 'fc47050edb34545d5bc1b31703436234', '1', '2021-07-18 17:10:32', 'catalog.products.delete catalog.products.read catalog.products.write customers.delete customers.read customers.write newsletters.delete newsletters.read newsletters.write products.categories.delete products.categories.read products.categories.write products.reviews.delete products.reviews.read products.reviews.write reports.delete reports.read reports.write roles.delete roles.read roles.write sales.orders.delete sales.orders.read sales.orders.write scopes.read users.delete users.read users.write vendors.delete vendors.read vendors.write'),
(2, 0x65794a30655841694f694a4b563151694c434a68624763694f694a53557a49314e694a392e65794a705a434936496d4a6c4d6a673359324a6a5a5463794d6a566c596a6b794e6a63304e6a417a5a54566b4f54426c5a6d45324d4756694d4464685a5745694c434a7164476b694f694a695a5449344e324e69593255334d6a49315a5749354d6a59334e4459774d3255315a446b775a575a684e6a426c596a4133595756684969776961584e7a496a6f69496977695958566b496a6f695a6d4d304e7a41314d47566b596a4d304e5451315a445669597a46694d7a45334d444d304d7a59794d7a51694c434a7a645749694f694978496977695a586877496a6f784e6a49324e6a55354d7a67304c434a70595851694f6a45324d6a59324e5455334f445173496e52766132567558335235634755694f694a695a5746795a5849694c434a7a593239775a534936496d4e68644746736232637563484a765a48566a64484d755a4756735a58526c49474e68644746736232637563484a765a48566a64484d75636d56685a43426a595852686247396e4c6e4279623252315933527a4c6e64796158526c49474e3163335276625756796379356b5a57786c644755675933567a644739745a584a7a4c6e4a6c595751675933567a644739745a584a7a4c6e64796158526c4947356c64334e735a5852305a584a7a4c6d526c624756305a5342755a58647a6247563064475679637935795a57466b4947356c64334e735a5852305a584a7a4c6e64796158526c49484279623252315933527a4c6d4e686447566e62334a705a584d755a4756735a58526c49484279623252315933527a4c6d4e686447566e62334a705a584d75636d56685a434277636d396b64574e306379356a5958526c5a3239796157567a4c6e64796158526c49484279623252315933527a4c6e4a6c646d6c6c64334d755a4756735a58526c49484279623252315933527a4c6e4a6c646d6c6c64334d75636d56685a434277636d396b64574e30637935795a585a705a58647a4c6e64796158526c49484a6c6347397964484d755a4756735a58526c49484a6c6347397964484d75636d56685a4342795a584276636e527a4c6e64796158526c49484a766247567a4c6d526c624756305a5342796232786c637935795a57466b49484a766247567a4c6e64796158526c49484e686247567a4c6d39795a4756796379356b5a57786c64475567633246735a584d7562334a6b5a584a7a4c6e4a6c59575167633246735a584d7562334a6b5a584a7a4c6e64796158526c49484e6a6233426c637935795a57466b4948567a5a584a7a4c6d526c624756305a53423163325679637935795a57466b4948567a5a584a7a4c6e64796158526c49485a6c626d5276636e4d755a4756735a58526c49485a6c626d5276636e4d75636d56685a4342325a57356b62334a7a4c6e64796158526c496e302e507261722d49736b35323948746a51526d35456e4445716257426c6c506a7231727379534f316b7a71312d6f356443436433736244374646385f447072564646387668367a44386e7868634c687a4f786e66464e43424b673846773572686e3870343256746635326a4f656f447a6c566d304151385a7762736a613233716f68555043574f695f53466f5a7732414e3935496278322d5067367849554136697766796b4936703354586e39676f65496f454370337179565f33747061656237763277373339476a7243586e3236704c4833414a3951665f45566561693778475673444b4f544468626a615543705a492d31787a446677356c4a74596954552d4a39465f3363744b656743526c5973494f616d5047523347477470547347505479684c517a6f4f356f5031774f4551463661376672796435585147575f467553347743396f72744c505342566c6d56546e4d5171735867, 'fc47050edb34545d5bc1b31703436234', '1', '2021-07-19 01:49:44', 'catalog.products.delete catalog.products.read catalog.products.write customers.delete customers.read customers.write newsletters.delete newsletters.read newsletters.write products.categories.delete products.categories.read products.categories.write products.reviews.delete products.reviews.read products.reviews.write reports.delete reports.read reports.write roles.delete roles.read roles.write sales.orders.delete sales.orders.read sales.orders.write scopes.read users.delete users.read users.write vendors.delete vendors.read vendors.write'),
(3, 0x65794a30655841694f694a4b563151694c434a68624763694f694a53557a49314e694a392e65794a705a434936496a6b305a6d45334e7a426a5a4449354e6a6b354d4445794e6d46684f4463314d6d49794e6d4a684e6a6c6d5a44426a4e44426a4e544d694c434a7164476b694f6949354e475a684e7a6377593251794f5459354f5441784d6a5a68595467334e544a694d6a5a69595459355a6d5177597a5177597a557a4969776961584e7a496a6f69496977695958566b496a6f695a6d4d304e7a41314d47566b596a4d304e5451315a445669597a46694d7a45334d444d304d7a59794d7a51694c434a7a645749694f694978496977695a586877496a6f784e6a49324e6a597a4d444d324c434a70595851694f6a45324d6a59324e546b304d7a5973496e52766132567558335235634755694f694a695a5746795a5849694c434a7a593239775a534936496d4e68644746736232637563484a765a48566a64484d755a4756735a58526c49474e68644746736232637563484a765a48566a64484d75636d56685a43426a595852686247396e4c6e4279623252315933527a4c6e64796158526c49474e3163335276625756796379356b5a57786c644755675933567a644739745a584a7a4c6e4a6c595751675933567a644739745a584a7a4c6e64796158526c4947356c64334e735a5852305a584a7a4c6d526c624756305a5342755a58647a6247563064475679637935795a57466b4947356c64334e735a5852305a584a7a4c6e64796158526c49484279623252315933527a4c6d4e686447566e62334a705a584d755a4756735a58526c49484279623252315933527a4c6d4e686447566e62334a705a584d75636d56685a434277636d396b64574e306379356a5958526c5a3239796157567a4c6e64796158526c49484279623252315933527a4c6e4a6c646d6c6c64334d755a4756735a58526c49484279623252315933527a4c6e4a6c646d6c6c64334d75636d56685a434277636d396b64574e30637935795a585a705a58647a4c6e64796158526c49484a6c6347397964484d755a4756735a58526c49484a6c6347397964484d75636d56685a4342795a584276636e527a4c6e64796158526c49484a766247567a4c6d526c624756305a5342796232786c637935795a57466b49484a766247567a4c6e64796158526c49484e686247567a4c6d39795a4756796379356b5a57786c64475567633246735a584d7562334a6b5a584a7a4c6e4a6c59575167633246735a584d7562334a6b5a584a7a4c6e64796158526c49484e6a6233426c637935795a57466b4948567a5a584a7a4c6d526c624756305a53423163325679637935795a57466b4948567a5a584a7a4c6e64796158526c49485a6c626d5276636e4d755a4756735a58526c49485a6c626d5276636e4d75636d56685a4342325a57356b62334a7a4c6e64796158526c496e302e4743656975394255736f65644f54383569306e776467596a4171484c4d434d426f32303773516c41776b414c797a68332d656844544452426f55587a304a346e706e7954623278324343314d5133547a6d684f544c6c4b754e7439386b436a2d3431696d6e7359396b64474438554446457676475f59355173456d333368764155443735425277657051737750566862457a414c63376a774a6c313334447836686455354573556b5072773337744c7363593561575f5358795f4959595173444150326270745057554b72624d786e4843336146566e7a567a473572725a334166755238577572446c4c616561567462752d34514a6a354a4d516b337741636c676949567248547679423678537974616c547774716e41346463324e35474a776a546d3344635a48474c6836506d3666646c7152676777624d336d6b77483631374c4f476a6a4e2d494b42674b49306c667330763077, 'fc47050edb34545d5bc1b31703436234', '1', '2021-07-19 02:50:36', 'catalog.products.delete catalog.products.read catalog.products.write customers.delete customers.read customers.write newsletters.delete newsletters.read newsletters.write products.categories.delete products.categories.read products.categories.write products.reviews.delete products.reviews.read products.reviews.write reports.delete reports.read reports.write roles.delete roles.read roles.write sales.orders.delete sales.orders.read sales.orders.write scopes.read users.delete users.read users.write vendors.delete vendors.read vendors.write'),
(4, 0x65794a30655841694f694a4b563151694c434a68624763694f694a53557a49314e694a392e65794a705a434936496d4531597a49794d4759774d446c6d4f446b794f444d774f475935597a45304e6a6b7a4f4759785a6a49354e444d334d47457a595441694c434a7164476b694f694a684e574d794d6a426d4d4441355a6a67354d6a677a4d44686d4f574d784e4459354d7a686d4d5759794f54517a4e7a42684d3245774969776961584e7a496a6f69496977695958566b496a6f695a6d4d304e7a41314d47566b596a4d304e5451315a445669597a46694d7a45334d444d304d7a59794d7a51694c434a7a645749694f694978496977695a586877496a6f784e6a49324e6a59324e6a51324c434a70595851694f6a45324d6a59324e6a4d774e445973496e52766132567558335235634755694f694a695a5746795a5849694c434a7a593239775a534936496d4e68644746736232637563484a765a48566a64484d755a4756735a58526c49474e68644746736232637563484a765a48566a64484d75636d56685a43426a595852686247396e4c6e4279623252315933527a4c6e64796158526c49474e3163335276625756796379356b5a57786c644755675933567a644739745a584a7a4c6e4a6c595751675933567a644739745a584a7a4c6e64796158526c4947356c64334e735a5852305a584a7a4c6d526c624756305a5342755a58647a6247563064475679637935795a57466b4947356c64334e735a5852305a584a7a4c6e64796158526c49484279623252315933527a4c6d4e686447566e62334a705a584d755a4756735a58526c49484279623252315933527a4c6d4e686447566e62334a705a584d75636d56685a434277636d396b64574e306379356a5958526c5a3239796157567a4c6e64796158526c49484279623252315933527a4c6e4a6c646d6c6c64334d755a4756735a58526c49484279623252315933527a4c6e4a6c646d6c6c64334d75636d56685a434277636d396b64574e30637935795a585a705a58647a4c6e64796158526c49484a6c6347397964484d755a4756735a58526c49484a6c6347397964484d75636d56685a4342795a584276636e527a4c6e64796158526c49484a766247567a4c6d526c624756305a5342796232786c637935795a57466b49484a766247567a4c6e64796158526c49484e686247567a4c6d39795a4756796379356b5a57786c64475567633246735a584d7562334a6b5a584a7a4c6e4a6c59575167633246735a584d7562334a6b5a584a7a4c6e64796158526c49484e6a6233426c637935795a57466b4948567a5a584a7a4c6d526c624756305a53423163325679637935795a57466b4948567a5a584a7a4c6e64796158526c49485a6c626d5276636e4d755a4756735a58526c49485a6c626d5276636e4d75636d56685a4342325a57356b62334a7a4c6e64796158526c496e302e52525549634a72432d4a3079724d383579454853735a76774d6874517073565f5033594e684b38416d444e444e6b4a524a3547555765584132444c456c77374f7557303330626c5f2d6a74736f6b394843757865303448347959556d6e626e314a52635f54704e53477531674e415779716e2d56466d4f415a5177535371617575515f78384e6c42554568644b69676b436e704e32376d365a4468576b415f49786468664b736370754675753449614f6f39524b642d74694c56494f345353554c4767484f6b35655a5244563558435a6e384d3552754e4d5156716f43775a5167646a544362656a56754e46647078666b79364b377a644334414f593430706f6861486561424930477653516866706d6d567a434d72356c3843705034445554417a3567794d64537642744937376a6b57523958744b7166434d6c5245344337616c48634d35754766556b6d566a644b596643346241, 'fc47050edb34545d5bc1b31703436234', '1', '2021-07-19 03:50:46', 'catalog.products.delete catalog.products.read catalog.products.write customers.delete customers.read customers.write newsletters.delete newsletters.read newsletters.write products.categories.delete products.categories.read products.categories.write products.reviews.delete products.reviews.read products.reviews.write reports.delete reports.read reports.write roles.delete roles.read roles.write sales.orders.delete sales.orders.read sales.orders.write scopes.read users.delete users.read users.write vendors.delete vendors.read vendors.write');

-- --------------------------------------------------------

--
-- Table structure for table `oauth_authorization_codes`
--

CREATE TABLE `oauth_authorization_codes` (
  `authorization_code` varchar(40) NOT NULL,
  `client_id` varchar(80) NOT NULL,
  `user_id` varchar(80) DEFAULT NULL,
  `redirect_uri` varchar(2000) DEFAULT NULL,
  `expires` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `scope` varchar(4000) DEFAULT NULL,
  `id_token` varchar(1000) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- --------------------------------------------------------

--
-- 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` char(36) COLLATE utf8mb4_unicode_ci 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` (
  `client_id` varchar(80) NOT NULL,
  `client_secret` varchar(80) DEFAULT NULL,
  `platform` varchar(50) DEFAULT NULL,
  `redirect_uri` varchar(2000) DEFAULT NULL,
  `grant_types` varchar(80) DEFAULT NULL,
  `scope` varchar(4000) DEFAULT NULL,
  `user_id` varchar(80) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `oauth_clients`
--

INSERT INTO `oauth_clients` (`client_id`, `client_secret`, `platform`, `redirect_uri`, `grant_types`, `scope`, `user_id`) VALUES
('1f3509d065ea243c55057020778dfe95', 'IINuLx2jbciy1mABo1jvNm7iGvYki9z0Fszv21+vUac=', 'iphone', NULL, 'password refresh_token', NULL, NULL),
('d06702c58996886653e16f462f3267e4', 'mQtCOg9SfKmvIrFbAF6fkKhdf7QOTF2kUD/5OuA5cuA=', 'android', NULL, 'password refresh_token', NULL, NULL),
('fc47050edb34545d5bc1b31703436234', 'dBVpgeL3np1aBF5aJJBBltPdMaTVbIvsOEq17enUJzY=', 'web-admin', NULL, 'password refresh_token', NULL, NULL);

-- --------------------------------------------------------

--
-- Table structure for table `oauth_jwt`
--

CREATE TABLE `oauth_jwt` (
  `client_id` varchar(80) NOT NULL,
  `subject` varchar(80) DEFAULT NULL,
  `public_key` varchar(2000) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- --------------------------------------------------------

--
-- Table structure for table `oauth_personal_access_clients`
--

CREATE TABLE `oauth_personal_access_clients` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `client_id` char(36) 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 `oauth_public_keys`
--

CREATE TABLE `oauth_public_keys` (
  `client_id` varchar(80) NOT NULL,
  `public_key` longblob DEFAULT NULL,
  `private_key` longblob DEFAULT NULL,
  `encryption_algorithm` varchar(80) DEFAULT 'RS256',
  `created_by` int(10) UNSIGNED DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `oauth_public_keys`
--

INSERT INTO `oauth_public_keys` (`client_id`, `public_key`, `private_key`, `encryption_algorithm`, `created_by`) VALUES
('1f3509d065ea243c55057020778dfe95', 0x2d2d2d2d2d424547494e205055424c4943204b45592d2d2d2d2d0a4d494942496a414e42676b71686b6947397730424151454641414f43415138414d49494243674b4341514541326c7a505076536b47425832322f7732766333620a372f6d4836716637673068794a564c576f356e4d683139325341574432592b33736b754b5669574e4736633538634b394e44626f6b6347367a74646446374f640a6c356666436558316c5638612b6d78314933336759782b48466b6173685a2f39516f6775796c384e56786a4441616d735443695172316b6b4b7235357a7638770a416c64357959506641777a3334356e3574714a4f614d466f65622b59694a707149384237465578326c485a49425032334e654f41415a416875736f3445672f730a4366776f66634e4e42454f37664b6a4633564e6b6938656b5a444f5661494d32414b726f6f737371355767665a67614f6a55484e756d34576455745265392f500a4353304a6d6677435441423433733556457144385730387a56784368386649435948706e6f6f61463369744858437736323362544c52517330333433713479640a7a774944415141420a2d2d2d2d2d454e44205055424c4943204b45592d2d2d2d2d0a, 0x2d2d2d2d2d424547494e205253412050524956415445204b45592d2d2d2d2d0a4d4949457041494241414b4341514541326c7a505076536b47425832322f773276633362372f6d4836716637673068794a564c576f356e4d68313932534157440a32592b33736b754b5669574e4736633538634b394e44626f6b6347367a74646446374f646c356666436558316c5638612b6d78314933336759782b48466b61730a685a2f39516f6775796c384e56786a4441616d735443695172316b6b4b7235357a763877416c64357959506641777a3334356e3574714a4f614d466f65622b590a694a707149384237465578326c485a49425032334e654f41415a416875736f3445672f734366776f66634e4e42454f37664b6a4633564e6b6938656b5a444f560a61494d32414b726f6f737371355767665a67614f6a55484e756d34576455745265392f504353304a6d6677435441423433733556457144385730387a567843680a386649435948706e6f6f61463369744858437736323362544c52517330333433713479647a77494441514142416f49424151444f746630617738787a594a65490a4f49493575353777315739744841686b687a6848544e77546b3479697569506d6d684875367259692b6f2f4362566e6653376232766a734f4b73794f377135420a454737332b50692b674f364c47443462595354513238736f42676c637a494f382b72706d354d57444c686664533433395856743950336e7a76704c34363548700a524e64617451686c72786d44516d726a494775703869454b5779754f7a59693930464b5535435170516135504d62686f3267633430386a76483035444457564b0a556978724f694e4c2b7542596375462b35484b39342b307937337a37514a6c666d4547446370346146583347772b706f4f7039516677305134644277592b31460a4668775a357354656c2b52716e6b4a6447594f6365777a5532644e793438436842787a656571474d305256576e585236515265334b476a4f48674a4c7272424f0a534c376c77566642416f4742415042546f65652f736e5870536e62434f2f4145396a4e4472736d4f314257726e7172376d2f4c656145354e306a7333394742790a4a4571557261447761666a4e46614c4137776f46487a34714a35424a73546733796d36656f6e2f383741526239505571507a37725670744a63694842447549320a7354636c4739713866314c4d723759754441576b4435455452785851514a442b3754744c6b453642435477424b506669764b584c4b347954416f4742414f69610a656168502f674242545a7a2f486868437041656133774f505577685a6464596432372b456f7665374449643864677a7966595036453565316b4f7334304266690a352f6f6f59674f61652f7633502f6a456f77704b72714f436353346b64485041467739747370486f4e774f797753724d5266704d5258686a6f3358504f6f39550a584d7167364c3966384a683355516b546356614a584e626d39657951586667754253656e524f7456416f47414e484d634c3762666e4f6f3454536a67366559370a555437685136332f545764794c6f44524c54557138495039634e30715957346e793373645662574365304650436f4575366a48702b7167366b447631434837730a6d433359367a506f3070363748464b484552564e686f43462f7958694f4b3656434b4c3572456864525658557431376655732f57636551534c496d5276644e560a4e513674784f525766706b474e757475486f547a30533843675942564c795634743372644777315366726646794c6f4c73764d54656179393951314c6b666e460a524d7a7544736d43344e6a5732774f4f6a736f594744317664346e324258705253664c4451524e41376f61324530566d596e31636b6b76697979542b7377312b0a372f7969704c6c7047464458334b475144646976513059387764792f577654306e454e417575454135556c2f476d693665576e50706876514f2f712b4268534c0a4e68337556514b42675143766e514d6756417a672f3047475732336f694f4c3748546d59506e6174595a616631666637644f4935486b736371626166554c74690a3854464568624443726c44324838417170593072784842726a6b645472795346627355685441575a4d766574356370436932333467694a7558365967306f6a720a48746e546b623878515a30354d34714a4c4644686f30454f68514b354f4a71566d532b6c5172584d692f4b45623767543745632f77773d3d0a2d2d2d2d2d454e44205253412050524956415445204b45592d2d2d2d2d0a, 'RS256', NULL),
('d06702c58996886653e16f462f3267e4', 0x2d2d2d2d2d424547494e205055424c4943204b45592d2d2d2d2d0a4d494942496a414e42676b71686b6947397730424151454641414f43415138414d49494243674b43415145416f2b396e593874476b334f342f7237516c58457a0a39306d66346259382b594457465a666c42776c656f5a586c75783439652f6b6a66564475706150353834475575706b466a5667585634436b5141676136344c740a46696c45644b686d4563765832734238573648744264533663347569676f783864526e6c4966383761744268562b396241697942336a5431396130366979742b0a2b6f326d2f5964336c646462656b6f59627054705548766c4e5641595a72716f6b324377745934526a6d6a4b3078477847304c56726e5863752b44777947504a0a39596b666341484a65463535453457535551516f72665744325a4d7475306161496173316a37314278594437616c5a4e5461785a5467587a4f793050532f4e370a616731797a7062594262497a445a56796976465748647466425233634950355a5745574f496a6d62486c55724a6d3748344b4172736c7272556e3268466256560a38774944415141420a2d2d2d2d2d454e44205055424c4943204b45592d2d2d2d2d0a, 0x2d2d2d2d2d424547494e205253412050524956415445204b45592d2d2d2d2d0a4d4949457041494241414b43415145416f2b396e593874476b334f342f7237516c58457a39306d66346259382b594457465a666c42776c656f5a586c757834390a652f6b6a66564475706150353834475575706b466a5667585634436b5141676136344c7446696c45644b686d45637658327342385736487442645336633475690a676f783864526e6c4966383761744268562b396241697942336a5431396130366979742b2b6f326d2f5964336c646462656b6f59627054705548766c4e5641590a5a72716f6b324377745934526a6d6a4b3078477847304c56726e5863752b44777947504a39596b666341484a65463535453457535551516f72665744325a4d740a75306161496173316a37314278594437616c5a4e5461785a5467587a4f793050532f4e37616731797a7062594262497a445a56796976465748647466425233630a4950355a5745574f496a6d62486c55724a6d3748344b4172736c7272556e3268466256563877494441514142416f49424145494a6a6e7945786b6c66744958710a4639776258664f666c4f67336f5268673764794538353243434c7a4f785677374d6b6c656377316f4c4c704d38384e447a385862486f46786d765745764b574f0a6e6b6d4131454335487670665737365066735341425a686b416a6233477153772b7958627363623652334d4b66635470624530662f6d6c4278493765687259510a73695364774f6a745a7664364f7049427a72665559554d716556495238575539334574553953536d35677a6c356349682f4130507051634963773747734b45770a305151754e333344393434674e2f4e476a56366f3530623633376447487964354f737935632f656a333741624d667a307077642f7a6c723074316551703154530a434f4852704f612f6737643356694e5a676872647676526a724b5761764641574966564a6542485a535542384a52364d3677725a317061394153635764442b740a61367659646745436759454131776a503652395130484978636f4b622b52395574796342526b416f6f4d54414d4c4c7a494b50517271627366714133446b582b0a63364f4f653235645539472b6f58776b4c7451537a487571457570623253684a3870393177454631473834526452504c62493079766a535636756771554931430a4b69644b69724f4a6b682b7252454e7a52496463664a56796e6555744e4a5a5765785967566b7543496a312b73684d37596c466249626b4367594541777970390a722f637748342b7732496d32395074436f394576354a58474b2f2f4e51735148464e4f587a5a31354441424861675447616a77394b516f4b45454d7471762f4c0a775268594769436e4f30624a706e44472b6539744e3352797042644f4c6c70563364494c6450746c7666727a7348746a6b6473666865754d726e3332447975630a6442316d647762734874676c796f41502b4d45687676396366496f4b304858624856485065777343675945416779494f6d46334f6a4b3932314277755065674c0a59333358327831354b55475336702f576749736c3062786438494b48304a36436f3861554e31574165494d714f35525842472b7a3378747a42674942625261530a7366446f674176712f4c2f594359752b764434484f644d62735a7450597277694930362b75494c7758446f50325a7441696750364e4d64326c432b554e384f4f0a6a5a566174775670494c526274514468622f32704535454367594278765765326a34613650684841674c48686f4455384a344f54346a3232457352624c7363350a7566373055397668784a2f6142364a693832787061484a6f2b3932336c492f346e756c70674c4931643547357347776c365156726c692f687462745968456b610a6c336b5a32684633594c4e346e4e427768705765684b4a655a775a70334f36334e524d734e78715139304d2b2b7464554436704e463647633677355759766b700a3479335a39514b42675143766a4474484735684538366b374f6c687a7265413957555538376b4a456f6137567961626d43774f61636676686a6f4168747a70650a6a43704a3458777156716e53625144796343654b614c647a387276456a515066377a376f4b52595431725354724852656f2f38756a71424857514a77755149640a7a48456139765669646456363530454d4e6850302f315061396f31326f304e2f6f7a386e5046446e33677274414c52744841705861773d3d0a2d2d2d2d2d454e44205253412050524956415445204b45592d2d2d2d2d0a, 'RS256', NULL),
('fc47050edb34545d5bc1b31703436234', 0x2d2d2d2d2d424547494e205055424c4943204b45592d2d2d2d2d0a4d494942496a414e42676b71686b6947397730424151454641414f43415138414d49494243674b43415145416e7146595679456e457a65574235563664585a370a347a51697330324f2b6b7752374c41345461352f4166345065594e49454b5752684c7277536d3939354557394c5033544d2b2b3262366637573656354f45622f0a59732f4336486a6b744b7a716b3330647a366d4247424576457576455a2b6566444f6a664e7a646e624378687853496f7966465a4976675973394e5347734a780a4970433151367156326233647636736f4239455131724f4b76527850363639534a537a433231796259423850453649552f6547766e536633737743505a7652430a6d656946796133743267636762304243494a786c526b2b304a456745384d74436d343439794d7752793034387871586b356974774c78425439706c2f304c6e380a505051412f6c4868613847465257436e564933674151354f7a4c596b457a364d776c62426663586f6b57554564565453435a332b4476532f496469344b3072710a58774944415141420a2d2d2d2d2d454e44205055424c4943204b45592d2d2d2d2d0a, 0x2d2d2d2d2d424547494e205253412050524956415445204b45592d2d2d2d2d0a4d4949456f77494241414b43415145416e7146595679456e457a65574235563664585a37347a51697330324f2b6b7752374c41345461352f4166345065594e490a454b5752684c7277536d3939354557394c5033544d2b2b3262366637573656354f45622f59732f4336486a6b744b7a716b3330647a366d4247424576457576450a5a2b6566444f6a664e7a646e624378687853496f7966465a4976675973394e5347734a784970433151367156326233647636736f4239455131724f4b765278500a363639534a537a433231796259423850453649552f6547766e536633737743505a7652436d656946796133743267636762304243494a786c526b2b304a4567450a384d74436d343439794d7752793034387871586b356974774c78425439706c2f304c6e38505051412f6c4868613847465257436e564933674151354f7a4c596b0a457a364d776c62426663586f6b57554564565453435a332b4476532f496469344b3072715877494441514142416f494241482b4b734847566d55704e4e6861770a363734483373496d4341527352706f656b596268684e4f49696c7536767778764c6f45623769317539496155722f37617836696d434b7449674547304b5668640a616d4b4353784a53673537516e4f70623456746d6a4a4b4c386479383745466c535178563462374b65625a326d485155467951654f2f6471557358582f6c79500a65774e433952336168624e374d334c58777251353144793872724a416377585953697955766147334334735542662f56304c696a773641533779627a712f66740a616a716b4a7134344578443833442b497575326f586e586a6a557076376e4a534933737830426c4469436875714d5371494d767a666161496d474e476e6354490a44547036565277676a46614c6e694f634b7842526d726e7a48386648546439757a724478566b57743632643436726c306b633062464d4a66736879685755456d0a5043616447306b43675945417a2b414a6d52464c32324879516a554e547656756e6e464a546e58743864575a6b6b72376b52754c58366a36755557746f5644380a686f4369673945516d48694272316f5377543768466b3363365157636b676d644d4d47396e594f3255366e44754f37696f764a6e635067543459567462666c680a3275364134766342694934725477587568417657596c4456674a304c303730533744334f4f4a4637425239566a4d4f4469553673466c554367594541773172410a63585a524b706e6f3959566a44394d49554a4f694a6b74647330343136436b5873546f436d33756d5a6b5255422f6a2f4d34397835586f7967304e7750536f710a766751793539766b6d566b4174523579684a742b702b50755230384449674858616431464d7a2b5a32736f6739556a58323348717935554c72304936365930480a786836557643323638686b64723562315976343372544f637a576e634c64664d59446b6871654d4367594541756731366161374b5a7a742b4766586a794854780a49677968495146364334597a596e574d50613861696d37796f5271564d686f4c4f744d7449612f6747366458347a744b4a2f34416466635172747466374847410a614741764e796a6f366d3636682b332f6d506f2b7a5353736e702f4f64717a4c41616d5159425057496f4f6b6a6144776675306458336562372f5966334d36510a666a4d2f5050417733442f555552323477413954424e55436759426b534c4d667939677734562b6f6f6a6650534d737336677a4555633468484e59706675624e0a7350546a736c386967704d4d6f4c4d4a5765726a4859374f755a446c7054375a3272667a4e487575695055484255464f643742574b586b4a6e444d4567794e390a45667a544b53516e48376f356b4a4a5738617a526f34716a426f484e6f50744c70696b2b544d39364e70423573696e34446e36776142316e695a3967335458710a63346d6e64774b426747714b4a36634f4350422f41784f59594c394a7430535248524b6673663731444a3546364d4449556c42627775556a2f456138684749480a5a4c6c446773306a6c7877384e6c2b3836556139386770746b53755330765168537332735931574262644449366d2f4c75587954375470315242517a6e3467330a6b74717152512f6f71662f4e456e3571466f6433366d506b6a7970717064535a75576753696a7a356353512b61736d614b496f420a2d2d2d2d2d454e44205253412050524956415445204b45592d2d2d2d2d0a, 'RS256', NULL);

-- --------------------------------------------------------

--
-- Table structure for table `oauth_refresh_tokens`
--

CREATE TABLE `oauth_refresh_tokens` (
  `refresh_token` varchar(40) NOT NULL,
  `client_id` varchar(80) NOT NULL,
  `user_id` varchar(80) DEFAULT NULL,
  `expires` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `scope` varchar(4000) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `oauth_refresh_tokens`
--

INSERT INTO `oauth_refresh_tokens` (`refresh_token`, `client_id`, `user_id`, `expires`, `scope`) VALUES
('adb994d8056f8c3c6272b88d5b09f3127e0278df', 'fc47050edb34545d5bc1b31703436234', '1', '2021-08-01 16:10:32', 'catalog.products.delete catalog.products.read catalog.products.write customers.delete customers.read customers.write newsletters.delete newsletters.read newsletters.write products.categories.delete products.categories.read products.categories.write products.reviews.delete products.reviews.read products.reviews.write reports.delete reports.read reports.write roles.delete roles.read roles.write sales.orders.delete sales.orders.read sales.orders.write scopes.read users.delete users.read users.write vendors.delete vendors.read vendors.write'),
('afc6a904c513ed8b1447252a72a7405db8d9386d', 'fc47050edb34545d5bc1b31703436234', '1', '2021-08-02 02:50:46', 'catalog.products.delete catalog.products.read catalog.products.write customers.delete customers.read customers.write newsletters.delete newsletters.read newsletters.write products.categories.delete products.categories.read products.categories.write products.reviews.delete products.reviews.read products.reviews.write reports.delete reports.read reports.write roles.delete roles.read roles.write sales.orders.delete sales.orders.read sales.orders.write scopes.read users.delete users.read users.write vendors.delete vendors.read vendors.write'),
('cc971bc7010228106cc3f446bf747b828187e038', 'fc47050edb34545d5bc1b31703436234', '1', '2021-08-02 01:50:36', 'catalog.products.delete catalog.products.read catalog.products.write customers.delete customers.read customers.write newsletters.delete newsletters.read newsletters.write products.categories.delete products.categories.read products.categories.write products.reviews.delete products.reviews.read products.reviews.write reports.delete reports.read reports.write roles.delete roles.read roles.write sales.orders.delete sales.orders.read sales.orders.write scopes.read users.delete users.read users.write vendors.delete vendors.read vendors.write'),
('f50980d2e138e00919595ef648d5e68246eda3a9', 'fc47050edb34545d5bc1b31703436234', '1', '2021-08-02 00:49:44', 'catalog.products.delete catalog.products.read catalog.products.write customers.delete customers.read customers.write newsletters.delete newsletters.read newsletters.write products.categories.delete products.categories.read products.categories.write products.reviews.delete products.reviews.read products.reviews.write reports.delete reports.read reports.write roles.delete roles.read roles.write sales.orders.delete sales.orders.read sales.orders.write scopes.read users.delete users.read users.write vendors.delete vendors.read vendors.write');

-- --------------------------------------------------------

--
-- Table structure for table `oauth_scopes`
--

CREATE TABLE `oauth_scopes` (
  `scope` varchar(80) NOT NULL,
  `is_default` tinyint(1) DEFAULT NULL,
  `description` varchar(100) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `oauth_scopes`
--

INSERT INTO `oauth_scopes` (`scope`, `is_default`, `description`) VALUES
('catalog.products.delete', 1, NULL),
('catalog.products.read', 1, NULL),
('catalog.products.write', 1, NULL),
('customers.delete', 1, 'Delete customers.'),
('customers.read', 1, 'View customer\'s information.'),
('customers.write', 1, 'Modify customer\'s information.'),
('newsletters.delete', 1, NULL),
('newsletters.read', 1, NULL),
('newsletters.write', 1, NULL),
('products.categories.delete', 1, NULL),
('products.categories.read', 1, NULL),
('products.categories.write', 1, NULL),
('products.reviews.delete', 1, NULL),
('products.reviews.read', 1, NULL),
('products.reviews.write', 1, NULL),
('reports.delete', 1, NULL),
('reports.read', 1, NULL),
('reports.write', 1, NULL),
('roles.delete', 1, NULL),
('roles.read', 1, NULL),
('roles.write', 1, NULL),
('sales.orders.delete', 1, NULL),
('sales.orders.read', 1, NULL),
('sales.orders.write', 1, NULL),
('scopes.read', 1, NULL),
('users.delete', 1, 'Delete users.'),
('users.read', 1, 'View user\'s information.'),
('users.write', 1, 'Modify user\'s information.'),
('vendors.delete', 1, NULL),
('vendors.read', 1, NULL),
('vendors.write', 1, NULL);

-- --------------------------------------------------------

--
-- Table structure for table `oauth_users`
--

CREATE TABLE `oauth_users` (
  `id` int(11) UNSIGNED NOT NULL,
  `user_id` int(11) UNSIGNED NOT NULL,
  `user_role` int(11) DEFAULT NULL,
  `username` varchar(80) DEFAULT NULL,
  `password` varchar(80) DEFAULT NULL,
  `email--` varchar(80) DEFAULT NULL,
  `email_verified--` tinyint(1) DEFAULT NULL,
  `scope` varchar(4000) DEFAULT NULL,
  `is_block` int(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=COMPACT;

--
-- Dumping data for table `oauth_users`
--

INSERT INTO `oauth_users` (`id`, `user_id`, `user_role`, `username`, `password`, `email--`, `email_verified--`, `scope`, `is_block`, `created_at`, `updated_at`) VALUES
(1, 1, 1, 'superadmin', 'd4b732729c82dd3451efd4b1b017c4344e7fc9fb', 'demo@sparxitsolutions.com1', NULL, NULL, 0, NULL, NULL),
(2, 6, 2, 'vendor', 'd4b732729c82dd3451efd4b1b017c4344e7fc9fb', 'rakesh.kumar@sparxitsolutions.com', NULL, NULL, 0, NULL, NULL),
(9, 13, 1, 'rakesh', 'e3ac2355ff5a1de910c03ff221e8cea1d8be49f9', NULL, NULL, NULL, 0, NULL, NULL),
(10, 38, 3, 'rakesh07@yopmail.com', 'ba61b4a397666a420958314a5b6aa58754f91534', NULL, NULL, NULL, 0, NULL, NULL),
(11, 39, 3, 'rakesh071@yopmail.com', 'ba61b4a397666a420958314a5b6aa58754f91534', NULL, NULL, NULL, 0, NULL, NULL),
(12, 40, 3, 'rakesh01@yopmail.com', 'ba61b4a397666a420958314a5b6aa58754f91534', NULL, NULL, NULL, 0, NULL, NULL),
(13, 12, 3, 'rakesh01@yopmail.com', 'ba61b4a397666a420958314a5b6aa58754f91534', NULL, NULL, NULL, 0, NULL, NULL);

-- --------------------------------------------------------

--
-- Table structure for table `password_resets`
--

CREATE TABLE `password_resets` (
  `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `token` varchar(255) 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 `post_comments`
--

CREATE TABLE `post_comments` (
  `id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  `post_id` int(11) NOT NULL,
  `user_type` enum('customer','contractor') DEFAULT NULL,
  `comment` longtext DEFAULT NULL,
  `status` varchar(220) DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- --------------------------------------------------------

--
-- Table structure for table `report_problems`
--

CREATE TABLE `report_problems` (
  `id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  `subject` varchar(250) DEFAULT NULL,
  `image` varchar(250) DEFAULT NULL,
  `problem` longtext DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `report_problems`
--

INSERT INTO `report_problems` (`id`, `user_id`, `subject`, `image`, `problem`, `created_at`, `updated_at`) VALUES
(5, 1, 'Facing login issue', NULL, 'sometime app going crash and also i got Facing login issue', '2021-07-19 01:35:40', '2021-07-19 01:35:40'),
(6, 1, 'Facing login issue', NULL, 'sometime app going crash and also i got Facing login issue', '2021-07-19 01:35:56', '2021-07-19 01:35:56'),
(8, 1, 'Facing login issue', NULL, 'sometime app going crash and also i got Facing login issue', '2021-07-19 01:39:53', '2021-07-19 01:39:53');

-- --------------------------------------------------------

--
-- Table structure for table `roles`
--

CREATE TABLE `roles` (
  `id` int(11) UNSIGNED NOT NULL COMMENT '1=Admin, 2=Vendor, 3=Customer',
  `name` varchar(191) NOT NULL,
  `description` varchar(191) NOT NULL,
  `status` enum('active','inactive') NOT NULL,
  `scope` varchar(4000) DEFAULT NULL,
  `read_only` tinyint(1) NOT NULL DEFAULT 0 COMMENT '0=editable,1=not editable',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE current_timestamp(),
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `roles`
--

INSERT INTO `roles` (`id`, `name`, `description`, `status`, `scope`, `read_only`, `created_at`, `updated_at`, `deleted_at`, `created_by`) VALUES
(1, 'Administrators', '', 'active', NULL, 1, NULL, NULL, NULL, NULL),
(2, 'Vendors', '', 'active', NULL, 1, NULL, NULL, NULL, NULL),
(3, 'Customers', '', 'active', NULL, 1, NULL, NULL, NULL, NULL);

-- --------------------------------------------------------

--
-- Table structure for table `running_status`
--

CREATE TABLE `running_status` (
  `id` int(11) NOT NULL,
  `booking_id` int(11) DEFAULT NULL,
  `user_id` int(11) DEFAULT NULL,
  `contractor_id` int(11) DEFAULT NULL,
  `running_status` varchar(250) DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- --------------------------------------------------------

--
-- Table structure for table `service-category`
--

CREATE TABLE `service-category` (
  `id` int(11) NOT NULL,
  `service_id` int(11) DEFAULT NULL,
  `sub_category_name` varchar(250) DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `service-category`
--

INSERT INTO `service-category` (`id`, `service_id`, `sub_category_name`, `created_at`, `updated_at`) VALUES
(1, 2, 'Tv Repairing', '2021-06-01 10:15:23', '2021-06-10 04:05:19'),
(2, 1, 'Repair', '2021-06-10 04:16:25', '2021-06-10 04:16:25'),
(3, 2, 'Carpenter', '2021-06-10 04:17:53', '2021-06-10 04:17:53');

-- --------------------------------------------------------

--
-- Table structure for table `services`
--

CREATE TABLE `services` (
  `id` int(11) NOT NULL,
  `service_name` varchar(250) DEFAULT NULL,
  `image` varchar(256) DEFAULT NULL,
  `status` varchar(256) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `services`
--

INSERT INTO `services` (`id`, `service_name`, `image`, `status`, `created_at`, `updated_at`) VALUES
(1, 'Electrician', '1622562262.bike.jpg', 'active', '2021-06-01 10:14:22', '2021-06-01 10:14:22'),
(2, 'Wood Work', '1623317425.Tag Heuer.jpg', 'active', '2021-06-10 04:00:25', '2021-06-10 04:00:25'),
(3, 'Photographer', '1624630268.Screenshot_2.jpg', 'active', '2021-06-25 14:11:08', '2021-06-25 14:11:08');

-- --------------------------------------------------------

--
-- Table structure for table `sessions`
--

CREATE TABLE `sessions` (
  `id` int(11) NOT NULL,
  `user_id` int(11) DEFAULT NULL,
  `username` varchar(250) DEFAULT NULL,
  `token` varchar(250) DEFAULT NULL,
  `name` varchar(250) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=COMPACT;

--
-- Dumping data for table `sessions`
--

INSERT INTO `sessions` (`id`, `user_id`, `username`, `token`, `name`, `created_at`, `updated_at`) VALUES
(1, 1, 'admin@admin.com', 'wBjl9ZKQaDdNsGSHY1qmGOUYPa8rxXPrJSWmTySr', NULL, '2021-06-07 07:39:25', '2021-07-05 09:35:58');

-- --------------------------------------------------------

--
-- Table structure for table `static_pages`
--

CREATE TABLE `static_pages` (
  `id` int(11) NOT NULL,
  `page_name` varchar(250) DEFAULT NULL,
  `title` varchar(250) DEFAULT NULL,
  `description` longtext DEFAULT NULL,
  `status` int(11) DEFAULT 1 COMMENT '	1=active, 0=inactive',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `static_pages`
--

INSERT INTO `static_pages` (`id`, `page_name`, `title`, `description`, `status`, `created_at`, `updated_at`) VALUES
(1, 'about_us', 'About Us', '<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen books.</p>', 1, '2021-06-08 10:51:40', '2021-06-10 04:39:14'),
(2, 'terms_and_conditions', 'Terms & Conditions', '<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.</p>', 1, '2021-06-08 10:51:40', '2021-06-08 11:19:13'),
(5, 'privacy_policy', 'Privacy Policy', '<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.</p>', 1, '2021-06-08 10:51:40', '2021-06-08 11:20:12'),
(6, 'contact_us', 'Contact Us', '<p>Suite 316-3602 noida<br />Burnaby, BC V5G 4W9<br />noida</p>', 1, '2021-06-08 10:51:40', '2021-06-08 11:23:25');

-- --------------------------------------------------------

--
-- Table structure for table `subscription_plan`
--

CREATE TABLE `subscription_plan` (
  `id` int(11) NOT NULL,
  `user_id` int(11) DEFAULT NULL,
  `contractor_id` int(11) DEFAULT NULL,
  `plan_id` int(11) NOT NULL,
  `order_id` varchar(300) DEFAULT NULL,
  `product_id` int(11) DEFAULT NULL,
  `start_date` datetime DEFAULT NULL,
  `end_date` datetime DEFAULT NULL,
  `cancelled_date` datetime DEFAULT NULL,
  `status` int(11) NOT NULL COMMENT '1=active, 0=inactive',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- --------------------------------------------------------

--
-- Table structure for table `subscription_plan_services`
--

CREATE TABLE `subscription_plan_services` (
  `id` int(11) NOT NULL,
  `subscription_plan_id` int(11) NOT NULL,
  `service_name` varchar(256) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `service_description` varchar(256) COLLATE utf8mb4_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `subscription_plan_services`
--

INSERT INTO `subscription_plan_services` (`id`, `subscription_plan_id`, `service_name`, `service_description`) VALUES
(1, 1, 'Free hosting', 'Free hosting service'),
(2, 1, 'Free email service', 'Free email service with mailchimp');

-- --------------------------------------------------------

--
-- Table structure for table `transactions`
--

CREATE TABLE `transactions` (
  `id` int(10) NOT NULL,
  `transaction_id` varchar(191) DEFAULT NULL,
  `contractor_id` int(10) DEFAULT NULL,
  `reciever_id` int(10) DEFAULT NULL COMMENT '''admin''',
  `amount` varchar(191) DEFAULT NULL,
  `customer_id` varchar(191) DEFAULT NULL,
  `status` enum('successful','pending','failed') DEFAULT NULL,
  `payment_method` varchar(191) DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `transactions`
--

INSERT INTO `transactions` (`id`, `transaction_id`, `contractor_id`, `reciever_id`, `amount`, `customer_id`, `status`, `payment_method`, `notes`, `created_at`, `updated_at`) VALUES
(1, '1212', 1, 1, '100', '1212121', 'successful', 'paypal', 'paid', '2021-06-11 15:02:42', NULL),
(2, '1212', 1, 1, '100', '1212121', 'successful', 'paypal', 'paid', '2021-06-18 14:59:30', NULL);

-- --------------------------------------------------------

--
-- Table structure for table `user_payment_method`
--

CREATE TABLE `user_payment_method` (
  `id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  `card_no` varchar(250) DEFAULT NULL,
  `card_type` varchar(250) DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- --------------------------------------------------------

--
-- Table structure for table `user_review`
--

CREATE TABLE `user_review` (
  `id` int(11) NOT NULL,
  `user_type` enum('customer','contractor') DEFAULT NULL,
  `user_id` int(11) DEFAULT NULL,
  `contractor_id` int(11) DEFAULT NULL,
  `rating` enum('1','2','3','4','5') DEFAULT NULL COMMENT '1,2,3,4,5',
  `review` longtext DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `user_review`
--

INSERT INTO `user_review` (`id`, `user_type`, `user_id`, `contractor_id`, `rating`, `review`, `created_at`, `updated_at`) VALUES
(5, NULL, 1, 1, '3', 'Expert on photography', '2021-07-19 01:54:07', '2021-07-19 01:54:07'),
(7, NULL, 1, 1, '3', 'Expert on photography', '2021-07-19 01:55:09', '2021-07-19 01:55:09'),
(8, NULL, 1, 1, '3', 'Expert on photography', '2021-07-19 01:59:31', '2021-07-19 01:59:31'),
(9, NULL, 1, 1, '3', 'Expert on photography', '2021-07-19 02:05:51', '2021-07-19 02:05:51'),
(10, NULL, 1, 1, '3', 'Expert on photography', '2021-07-19 02:05:54', '2021-07-19 02:05:54'),
(14, NULL, 1, 1, '3', 'Expert on photography', '2021-07-19 03:12:30', '2021-07-19 03:12:30');

-- --------------------------------------------------------

--
-- Table structure for table `user_wishlist`
--

CREATE TABLE `user_wishlist` (
  `id` int(11) NOT NULL,
  `user_id` int(11) DEFAULT NULL,
  `contractor_id` int(11) DEFAULT NULL,
  `like_status` varchar(250) DEFAULT NULL,
  `created_at` int(11) NOT NULL DEFAULT current_timestamp(),
  `updated_at` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- --------------------------------------------------------

--
-- Table structure for table `vendors`
--

CREATE TABLE `vendors` (
  `id` int(11) NOT NULL,
  `first_name` varchar(250) DEFAULT NULL,
  `last_name` varchar(250) DEFAULT NULL,
  `email` varchar(250) DEFAULT NULL,
  `phone` varchar(250) DEFAULT NULL,
  `password` varchar(256) DEFAULT NULL,
  `expertise` varchar(255) DEFAULT NULL,
  `exprence` varchar(250) DEFAULT NULL,
  `licence_no` varchar(250) DEFAULT NULL,
  `latitude` varchar(250) DEFAULT NULL,
  `longitude` varchar(250) DEFAULT NULL,
  `address` varchar(250) DEFAULT NULL,
  `about_company` text DEFAULT NULL,
  `otp` varchar(250) DEFAULT NULL,
  `otp_validity` datetime DEFAULT NULL COMMENT 'otp valid till 5 min ',
  `image` varchar(256) DEFAULT NULL,
  `rate` float DEFAULT NULL,
  `rate_type` varchar(100) DEFAULT NULL,
  `device_id` varchar(250) DEFAULT NULL,
  `device_token` varchar(250) DEFAULT NULL,
  `device_type` varchar(250) DEFAULT NULL,
  `approval_status` int(11) NOT NULL DEFAULT 0 COMMENT '1=approve, 0= not approve',
  `status` int(11) NOT NULL DEFAULT 1 COMMENT '1=active, 0=inactive',
  `created_at` timestamp NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `vendors`
--

INSERT INTO `vendors` (`id`, `first_name`, `last_name`, `email`, `phone`, `password`, `expertise`, `exprence`, `licence_no`, `latitude`, `longitude`, `address`, `about_company`, `otp`, `otp_validity`, `image`, `rate`, `rate_type`, `device_id`, `device_token`, `device_type`, `approval_status`, `status`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 'Pradeep', 'Kushwaha', 'pradeep007@yopmail.com', '8888888888', '$2y$10$XTUv5WCwNMMUkgDG7NbvieTVnNKlYFLm4nN1u73IEBiY81EuiqFfy', 'Full stack developer', '5 Year', 'MHP123', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, '2021-05-31 08:38:24', '2021-06-01 10:09:39', '2021-06-01 15:39:39'),
(2, 'Asad', 'shaikh', 'asad007@yopmail.com', '0555555555', '$2y$10$Epduwx/D9WfVeg5OpMSlLuhfJdgn9iRoKZB6Px5WQy6F/sHLDCQru', 'Electronics gazette', '3 Year', 'MPL555', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, '2021-05-31 08:40:44', '2021-06-22 05:57:52', '2021-06-22 05:57:52'),
(3, 'Pr2', 'Ku12', 'pk1@yopmail.com', '0123654789', '7c222fb2927d828af22f592134e8932480637c0d', 'Electronics', '2 Year', 'MHP123', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, '2021-06-02 09:22:35', '2021-06-25 14:26:34', NULL),
(4, 'Abhi', 'Singh', 'testingqa2303@gmail.com', '9090897988', '$2y$10$4CdtfmtEYSiPWZNCTbf72OmsWkb6waKhtc4Z3el9jvkmKvnmbZsc2', 'Painting', '6', '444444', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, '2021-06-10 03:24:21', '2021-07-18 15:57:54', '2021-07-18 15:57:54'),
(5, 'Abhi', 'Singh', 'testingqa23032@gmail.com', '9090897988', '$2y$10$Ekr.YFpcbX5rsOHy.122Zunlh89qIXvp4jcyZYpH1rgEqtj.15Yh6', 'Painting', '6', '444444', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, '2021-06-10 03:24:24', '2021-06-22 04:54:38', '2021-06-22 04:54:38'),
(6, 'pradeep', 'kushwaha', 'testingqa2@gmail.com', '1234564564', '$2y$10$yHy3kwSVlXpXsIK3035/VeU.biqCODC6CLlhl3rZDIDQUv5hAA4ly', '12', '5', '12121', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, '2021-06-15 10:56:29', '2021-06-17 13:13:23', NULL),
(9, 'pradeep', 'kushwaha', 'terst12@gmail.com', '08383855251', '88ea39439e74fa27c09a4fc0bc8ebe6d00978392', '12', '5 year', '12121', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, '2021-06-22 12:29:34', '2021-06-25 14:16:57', NULL),
(10, 'test123', 'kushwaha', 'tt2@gmail.com', '08383855251', '88ea39439e74fa27c09a4fc0bc8ebe6d00978392', '12', '5 year', '12121', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, '2021-06-22 12:32:46', '2021-06-22 12:32:46', NULL),
(11, 'test123', 'kushwaha', 'pkgmail@gmail.com', '1234567894', '7c222fb2927d828af22f592134e8932480637c0d', '12', '5 year', '12121', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, '2021-06-25 08:18:50', '2021-06-25 08:18:50', NULL),
(12, 'Rakesh', 'Rajput', 'rakesh01@yopmail.com', '0123854789', 'ba61b4a397666a420958314a5b6aa58754f91534', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, '2021-07-18 15:55:34', '2021-07-18 15:56:59', NULL);

-- --------------------------------------------------------

--
-- Table structure for table `vendor_addresses`
--

CREATE TABLE `vendor_addresses` (
  `id` int(11) NOT NULL,
  `vendor_id` int(11) DEFAULT NULL,
  `is_default` tinyint(1) DEFAULT 0,
  `street_address` longtext DEFAULT NULL,
  `street_name` varchar(256) DEFAULT NULL,
  `apartment_number` varchar(256) DEFAULT NULL,
  `country` varchar(100) DEFAULT NULL,
  `state` varchar(250) DEFAULT NULL,
  `city` varchar(250) DEFAULT NULL,
  `location` varchar(250) DEFAULT NULL,
  `landmark` varchar(250) DEFAULT NULL,
  `pincode` varchar(250) DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `vendor_addresses`
--

INSERT INTO `vendor_addresses` (`id`, `vendor_id`, `is_default`, `street_address`, `street_name`, `apartment_number`, `country`, `state`, `city`, `location`, `landmark`, `pincode`, `created_at`, `updated_at`) VALUES
(3, 1, 1, 'Okhla delhi', 'Gali no 55', '150', 'India', 'UP', 'Delhi', 'Near BTW', 'India', '123456', '2021-07-18 16:01:20', '2021-07-19 03:08:18'),
(4, 1, 0, 'Okhla 44delhi', 'Gali no 55', '150', 'India', 'UP', 'Delhi', 'Near BTW', 'India', '123456', '2021-07-18 16:04:25', '2021-07-19 03:08:18'),
(5, 1, 0, 'Okhla delhi', 'Gali no 55', '150', 'India', 'UP', 'Delhi', 'Near BTW', 'India', '123456', '2021-07-19 03:07:58', '2021-07-19 03:08:18');

--
-- Indexes for dumped tables
--

--
-- Indexes for table `addresses`
--
ALTER TABLE `addresses`
  ADD PRIMARY KEY (`id`),
  ADD KEY `user_id` (`user_id`);

--
-- Indexes for table `admins`
--
ALTER TABLE `admins`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `admins_email_unique` (`email`);

--
-- Indexes for table `admin_notifications`
--
ALTER TABLE `admin_notifications`
  ADD PRIMARY KEY (`id`),
  ADD KEY `notifications_notifiable_type_notifiable_id_index` (`notifiable_id`);

--
-- Indexes for table `app_rating`
--
ALTER TABLE `app_rating`
  ADD PRIMARY KEY (`id`),
  ADD KEY `user_id` (`user_id`),
  ADD KEY `contractor_id` (`contractor_id`);

--
-- Indexes for table `availability`
--
ALTER TABLE `availability`
  ADD PRIMARY KEY (`id`),
  ADD KEY `availability_id` (`availability_type_id`),
  ADD KEY `contractor_id` (`contractor_id`);

--
-- Indexes for table `availability_slot`
--
ALTER TABLE `availability_slot`
  ADD PRIMARY KEY (`id`),
  ADD KEY `availability_id` (`availability_id`);

--
-- Indexes for table `availability_type`
--
ALTER TABLE `availability_type`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `booking`
--
ALTER TABLE `booking`
  ADD PRIMARY KEY (`id`),
  ADD KEY `contractor_id` (`contractor_id`),
  ADD KEY `user_id` (`user_id`);

--
-- Indexes for table `community_post`
--
ALTER TABLE `community_post`
  ADD PRIMARY KEY (`id`),
  ADD KEY `user_id` (`user_id`),
  ADD KEY `category_id` (`category_id`);

--
-- Indexes for table `contact_us`
--
ALTER TABLE `contact_us`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `contractors`
--
ALTER TABLE `contractors`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `contractor_app_settings`
--
ALTER TABLE `contractor_app_settings`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `contractor_service`
--
ALTER TABLE `contractor_service`
  ADD PRIMARY KEY (`id`),
  ADD KEY `contractor_id` (`contractor_id`),
  ADD KEY `service_cat_id` (`service_id`);

--
-- Indexes for table `contractor_sub_category`
--
ALTER TABLE `contractor_sub_category`
  ADD PRIMARY KEY (`id`),
  ADD KEY `contractor_id` (`contractor_id`),
  ADD KEY `service_cat_id` (`service_cat_id`),
  ADD KEY `contractor_service_id` (`contractor_service_id`);

--
-- Indexes for table `conversation`
--
ALTER TABLE `conversation`
  ADD PRIMARY KEY (`id`),
  ADD KEY `reciver_id` (`reciver_id`),
  ADD KEY `sender_id` (`sender_id`);

--
-- Indexes for table `create_subscription_plan`
--
ALTER TABLE `create_subscription_plan`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `customers`
--
ALTER TABLE `customers`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `users_email_unique` (`email`);

--
-- Indexes for table `customer_addresses`
--
ALTER TABLE `customer_addresses`
  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 `faqs`
--
ALTER TABLE `faqs`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `inquery`
--
ALTER TABLE `inquery`
  ADD PRIMARY KEY (`id`),
  ADD KEY `user_id` (`user_id`);

--
-- Indexes for table `job_tracking`
--
ALTER TABLE `job_tracking`
  ADD PRIMARY KEY (`id`),
  ADD KEY `user_id` (`user_id`),
  ADD KEY `contractor_id` (`contractor_id`),
  ADD KEY `booking_id` (`booking_id`);

--
-- Indexes for table `migrations`
--
ALTER TABLE `migrations`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `my_favourites`
--
ALTER TABLE `my_favourites`
  ADD PRIMARY KEY (`id`),
  ADD KEY `user_id` (`user_id`),
  ADD KEY `contractor_id` (`contractor_id`);

--
-- Indexes for table `notifications`
--
ALTER TABLE `notifications`
  ADD PRIMARY KEY (`id`),
  ADD KEY `notifications_notifiable_type_notifiable_id_index` (`notifiable_type`,`notifiable_id`);

--
-- Indexes for table `oauth_access_tokens`
--
ALTER TABLE `oauth_access_tokens`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `oauth_authorization_codes`
--
ALTER TABLE `oauth_authorization_codes`
  ADD PRIMARY KEY (`authorization_code`);

--
-- 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 (`client_id`);

--
-- Indexes for table `oauth_personal_access_clients`
--
ALTER TABLE `oauth_personal_access_clients`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `oauth_public_keys`
--
ALTER TABLE `oauth_public_keys`
  ADD PRIMARY KEY (`client_id`);

--
-- Indexes for table `oauth_refresh_tokens`
--
ALTER TABLE `oauth_refresh_tokens`
  ADD PRIMARY KEY (`refresh_token`);

--
-- Indexes for table `oauth_scopes`
--
ALTER TABLE `oauth_scopes`
  ADD PRIMARY KEY (`scope`);

--
-- Indexes for table `oauth_users`
--
ALTER TABLE `oauth_users`
  ADD PRIMARY KEY (`id`),
  ADD KEY `user_id` (`user_id`,`user_role`,`username`);

--
-- Indexes for table `password_resets`
--
ALTER TABLE `password_resets`
  ADD KEY `password_resets_email_index` (`email`);

--
-- Indexes for table `post_comments`
--
ALTER TABLE `post_comments`
  ADD PRIMARY KEY (`id`),
  ADD KEY `post_id` (`post_id`),
  ADD KEY `user_id` (`user_id`);

--
-- Indexes for table `report_problems`
--
ALTER TABLE `report_problems`
  ADD PRIMARY KEY (`id`),
  ADD KEY `user_id` (`user_id`);

--
-- Indexes for table `roles`
--
ALTER TABLE `roles`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `running_status`
--
ALTER TABLE `running_status`
  ADD PRIMARY KEY (`id`),
  ADD KEY `user_id` (`user_id`),
  ADD KEY `contractor_id` (`contractor_id`);

--
-- Indexes for table `service-category`
--
ALTER TABLE `service-category`
  ADD PRIMARY KEY (`id`),
  ADD KEY `cat_relation` (`service_id`);

--
-- Indexes for table `services`
--
ALTER TABLE `services`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `sessions`
--
ALTER TABLE `sessions`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `static_pages`
--
ALTER TABLE `static_pages`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `subscription_plan`
--
ALTER TABLE `subscription_plan`
  ADD PRIMARY KEY (`id`),
  ADD KEY `user_id` (`user_id`),
  ADD KEY `plan_id` (`plan_id`),
  ADD KEY `contractor_id` (`contractor_id`);

--
-- Indexes for table `subscription_plan_services`
--
ALTER TABLE `subscription_plan_services`
  ADD PRIMARY KEY (`id`),
  ADD KEY `subscription_plan_id` (`subscription_plan_id`);

--
-- Indexes for table `transactions`
--
ALTER TABLE `transactions`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `user_payment_method`
--
ALTER TABLE `user_payment_method`
  ADD PRIMARY KEY (`id`),
  ADD KEY `user_id` (`user_id`);

--
-- Indexes for table `user_review`
--
ALTER TABLE `user_review`
  ADD PRIMARY KEY (`id`),
  ADD KEY `user_id` (`user_id`),
  ADD KEY `contractor_id` (`contractor_id`);

--
-- Indexes for table `user_wishlist`
--
ALTER TABLE `user_wishlist`
  ADD PRIMARY KEY (`id`),
  ADD KEY `user_id` (`user_id`),
  ADD KEY `contractor_id` (`contractor_id`);

--
-- Indexes for table `vendors`
--
ALTER TABLE `vendors`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `vendor_addresses`
--
ALTER TABLE `vendor_addresses`
  ADD PRIMARY KEY (`id`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `addresses`
--
ALTER TABLE `addresses`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT for table `admins`
--
ALTER TABLE `admins`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;

--
-- AUTO_INCREMENT for table `admin_notifications`
--
ALTER TABLE `admin_notifications`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- AUTO_INCREMENT for table `app_rating`
--
ALTER TABLE `app_rating`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `availability`
--
ALTER TABLE `availability`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `availability_slot`
--
ALTER TABLE `availability_slot`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `availability_type`
--
ALTER TABLE `availability_type`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `booking`
--
ALTER TABLE `booking`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18;

--
-- AUTO_INCREMENT for table `community_post`
--
ALTER TABLE `community_post`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `contact_us`
--
ALTER TABLE `contact_us`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT for table `contractors`
--
ALTER TABLE `contractors`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;

--
-- AUTO_INCREMENT for table `contractor_app_settings`
--
ALTER TABLE `contractor_app_settings`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `contractor_service`
--
ALTER TABLE `contractor_service`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18;

--
-- AUTO_INCREMENT for table `contractor_sub_category`
--
ALTER TABLE `contractor_sub_category`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `conversation`
--
ALTER TABLE `conversation`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `create_subscription_plan`
--
ALTER TABLE `create_subscription_plan`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `customers`
--
ALTER TABLE `customers`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=41;

--
-- AUTO_INCREMENT for table `customer_addresses`
--
ALTER TABLE `customer_addresses`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT for table `failed_jobs`
--
ALTER TABLE `failed_jobs`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `faqs`
--
ALTER TABLE `faqs`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `inquery`
--
ALTER TABLE `inquery`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `job_tracking`
--
ALTER TABLE `job_tracking`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `migrations`
--
ALTER TABLE `migrations`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;

--
-- AUTO_INCREMENT for table `my_favourites`
--
ALTER TABLE `my_favourites`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `oauth_access_tokens`
--
ALTER TABLE `oauth_access_tokens`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- 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 for table `oauth_users`
--
ALTER TABLE `oauth_users`
  MODIFY `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;

--
-- AUTO_INCREMENT for table `post_comments`
--
ALTER TABLE `post_comments`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `report_problems`
--
ALTER TABLE `report_problems`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- AUTO_INCREMENT for table `roles`
--
ALTER TABLE `roles`
  MODIFY `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '1=Admin, 2=Vendor, 3=Customer', AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `running_status`
--
ALTER TABLE `running_status`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `service-category`
--
ALTER TABLE `service-category`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `services`
--
ALTER TABLE `services`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `sessions`
--
ALTER TABLE `sessions`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `static_pages`
--
ALTER TABLE `static_pages`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- AUTO_INCREMENT for table `subscription_plan`
--
ALTER TABLE `subscription_plan`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `subscription_plan_services`
--
ALTER TABLE `subscription_plan_services`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `transactions`
--
ALTER TABLE `transactions`
  MODIFY `id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `user_payment_method`
--
ALTER TABLE `user_payment_method`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `user_review`
--
ALTER TABLE `user_review`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15;

--
-- AUTO_INCREMENT for table `user_wishlist`
--
ALTER TABLE `user_wishlist`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `vendors`
--
ALTER TABLE `vendors`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;

--
-- AUTO_INCREMENT for table `vendor_addresses`
--
ALTER TABLE `vendor_addresses`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- Constraints for dumped tables
--

--
-- Constraints for table `addresses`
--
ALTER TABLE `addresses`
  ADD CONSTRAINT `addresses_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `customers` (`id`),
  ADD CONSTRAINT `addresses_ibfk_2` FOREIGN KEY (`user_id`) REFERENCES `contractors` (`id`);

--
-- Constraints for table `app_rating`
--
ALTER TABLE `app_rating`
  ADD CONSTRAINT `app_rating_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `contractors` (`id`),
  ADD CONSTRAINT `app_rating_ibfk_2` FOREIGN KEY (`contractor_id`) REFERENCES `contractors` (`id`);

--
-- Constraints for table `booking`
--
ALTER TABLE `booking`
  ADD CONSTRAINT `booking_ibfk_1` FOREIGN KEY (`contractor_id`) REFERENCES `contractors` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  ADD CONSTRAINT `booking_ibfk_2` FOREIGN KEY (`user_id`) REFERENCES `customers` (`id`);

--
-- Constraints for table `community_post`
--
ALTER TABLE `community_post`
  ADD CONSTRAINT `community_post_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `customers` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  ADD CONSTRAINT `community_post_ibfk_2` FOREIGN KEY (`user_id`) REFERENCES `contractors` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  ADD CONSTRAINT `community_post_ibfk_3` FOREIGN KEY (`category_id`) REFERENCES `services` (`id`);

--
-- Constraints for table `contractor_service`
--
ALTER TABLE `contractor_service`
  ADD CONSTRAINT `contractor_service_ibfk_1` FOREIGN KEY (`contractor_id`) REFERENCES `contractors` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;

--
-- Constraints for table `contractor_sub_category`
--
ALTER TABLE `contractor_sub_category`
  ADD CONSTRAINT `contractor_sub_category_ibfk_1` FOREIGN KEY (`contractor_service_id`) REFERENCES `contractor_service` (`id`);

--
-- Constraints for table `job_tracking`
--
ALTER TABLE `job_tracking`
  ADD CONSTRAINT `job_tracking_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `customers` (`id`),
  ADD CONSTRAINT `job_tracking_ibfk_2` FOREIGN KEY (`contractor_id`) REFERENCES `contractors` (`id`),
  ADD CONSTRAINT `job_tracking_ibfk_3` FOREIGN KEY (`booking_id`) REFERENCES `booking` (`id`);

--
-- Constraints for table `post_comments`
--
ALTER TABLE `post_comments`
  ADD CONSTRAINT `post_comments_ibfk_1` FOREIGN KEY (`post_id`) REFERENCES `community_post` (`id`),
  ADD CONSTRAINT `post_comments_ibfk_2` FOREIGN KEY (`user_id`) REFERENCES `customers` (`id`),
  ADD CONSTRAINT `post_comments_ibfk_3` FOREIGN KEY (`user_id`) REFERENCES `contractors` (`id`);

--
-- Constraints for table `running_status`
--
ALTER TABLE `running_status`
  ADD CONSTRAINT `running_status_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `customers` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  ADD CONSTRAINT `running_status_ibfk_2` FOREIGN KEY (`contractor_id`) REFERENCES `contractors` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;

--
-- Constraints for table `service-category`
--
ALTER TABLE `service-category`
  ADD CONSTRAINT `service-category_ibfk_1` FOREIGN KEY (`service_id`) REFERENCES `services` (`id`);

--
-- Constraints for table `subscription_plan`
--
ALTER TABLE `subscription_plan`
  ADD CONSTRAINT `subscription_plan_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `customers` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  ADD CONSTRAINT `subscription_plan_ibfk_2` FOREIGN KEY (`plan_id`) REFERENCES `create_subscription_plan` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  ADD CONSTRAINT `subscription_plan_ibfk_3` FOREIGN KEY (`contractor_id`) REFERENCES `contractors` (`id`);

--
-- Constraints for table `user_payment_method`
--
ALTER TABLE `user_payment_method`
  ADD CONSTRAINT `user_payment_method_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `contractors` (`id`);

--
-- Constraints for table `user_review`
--
ALTER TABLE `user_review`
  ADD CONSTRAINT `user_review_ibfk_2` FOREIGN KEY (`contractor_id`) REFERENCES `contractors` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;

--
-- Constraints for table `user_wishlist`
--
ALTER TABLE `user_wishlist`
  ADD CONSTRAINT `user_wishlist_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `customers` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  ADD CONSTRAINT `user_wishlist_ibfk_2` FOREIGN KEY (`contractor_id`) REFERENCES `contractors` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
COMMIT;

