Current File : /home/tradevaly/demo.tradevaly.com.bd/content/trade_valy(1).sql |
-- phpMyAdmin SQL Dump
-- version 5.0.4
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Mar 26, 2021 at 01:26 PM
-- Server version: 10.4.17-MariaDB
-- PHP Version: 8.0.0
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `trade_valy`
--
-- --------------------------------------------------------
--
-- Table structure for table `brands`
--
CREATE TABLE `brands` (
`id` bigint(20) UNSIGNED NOT NULL,
`created_user_id` int(11) NOT NULL DEFAULT 0,
`modified_user_id` int(11) NOT NULL DEFAULT 0,
`deleted_user_id` int(11) NOT NULL DEFAULT 0,
`name` varchar(60) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`country_id` int(11) NOT NULL DEFAULT 0,
`logo` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`status` int(11) NOT NULL DEFAULT 1 COMMENT '0= Inactive, 1= 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 `brands`
--
INSERT INTO `brands` (`id`, `created_user_id`, `modified_user_id`, `deleted_user_id`, `name`, `country_id`, `logo`, `status`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 0, 0, 0, 'Walton', 1, 'walton.jpg', 1, NULL, NULL, NULL),
(2, 0, 0, 0, 'TVS', 2, 'tvs.png', 1, NULL, NULL, NULL),
(3, 0, 0, 0, 'HP', 3, 'hp.PNG', 1, NULL, NULL, NULL),
(4, 0, 0, 0, 'MSI', 4, 'msi.png', 1, NULL, NULL, NULL);
-- --------------------------------------------------------
--
-- Table structure for table `cities`
--
CREATE TABLE `cities` (
`id` bigint(20) UNSIGNED NOT NULL,
`created_user_id` int(11) NOT NULL DEFAULT 0,
`modified_user_id` int(11) NOT NULL DEFAULT 0,
`deleted_user_id` int(11) NOT NULL DEFAULT 0,
`name` varchar(60) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`country_id` int(11) NOT NULL DEFAULT 0,
`status` int(11) NOT NULL DEFAULT 1 COMMENT '0= Inactive, 1= 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 `cities`
--
INSERT INTO `cities` (`id`, `created_user_id`, `modified_user_id`, `deleted_user_id`, `name`, `country_id`, `status`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 0, 0, 0, 'Dhaka', 1, 1, NULL, NULL, NULL),
(2, 0, 0, 0, 'Mumbai', 2, 1, NULL, NULL, NULL),
(3, 0, 0, 0, 'New York', 3, 1, NULL, NULL, NULL),
(4, 0, 0, 0, 'Kaohsiung', 4, 1, NULL, NULL, NULL);
-- --------------------------------------------------------
--
-- Table structure for table `colors`
--
CREATE TABLE `colors` (
`id` bigint(20) UNSIGNED NOT NULL,
`created_user_id` int(11) NOT NULL DEFAULT 0,
`modified_user_id` int(11) NOT NULL DEFAULT 0,
`deleted_user_id` int(11) NOT NULL DEFAULT 0,
`name` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`status` int(11) NOT NULL DEFAULT 1 COMMENT '0= Inactive, 1= 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;
-- --------------------------------------------------------
--
-- Table structure for table `companies`
--
CREATE TABLE `companies` (
`id` bigint(20) UNSIGNED NOT NULL,
`created_user_id` int(11) NOT NULL DEFAULT 0,
`modified_user_id` int(11) NOT NULL DEFAULT 0,
`deleted_user_id` int(11) NOT NULL DEFAULT 0,
`company_name` varchar(60) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`person_name` varchar(60) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`designation` varchar(60) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`country_ids` text COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Json data',
`city_ids` text COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Json data',
`mobile` varchar(60) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`alt_mobile` varchar(60) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`tel` varchar(60) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`email` varchar(60) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`alt_email` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`website` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`year_id` int(11) DEFAULT NULL COMMENT 'Established Year',
`address` varchar(60) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`latitude` varchar(60) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`longitude` varchar(60) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`google_map_url` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`youtube_url` text COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Json data',
`logo` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`galleries` text COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Json data',
`brand_ids` text COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Json data',
`company_category_ids` text COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Json data',
`related_company` text COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Json data',
`short_summery` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`about_company` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`feature_company` tinyint(4) NOT NULL DEFAULT 0 COMMENT '0= Default, 1= Feature',
`special_email_offer` tinyint(4) NOT NULL DEFAULT 0 COMMENT '0= Default, 1= Send Notification',
`membership_agreements` tinyint(4) NOT NULL DEFAULT 0 COMMENT '0= Default, 1= Read Agreement',
`package_id` int(11) NOT NULL DEFAULT 0,
`exp_date` date DEFAULT NULL,
`status` int(11) NOT NULL DEFAULT 0 COMMENT '0= Pending, 1= Listed',
`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 `companies`
--
INSERT INTO `companies` (`id`, `created_user_id`, `modified_user_id`, `deleted_user_id`, `company_name`, `person_name`, `designation`, `country_ids`, `city_ids`, `mobile`, `alt_mobile`, `tel`, `email`, `alt_email`, `website`, `year_id`, `address`, `latitude`, `longitude`, `google_map_url`, `youtube_url`, `logo`, `galleries`, `brand_ids`, `company_category_ids`, `related_company`, `short_summery`, `about_company`, `feature_company`, `special_email_offer`, `membership_agreements`, `package_id`, `exp_date`, `status`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 1, 0, 0, 'AB Group Of Company', 'Md. Ashif Rahman', 'Marketing Head', '[\"1\",\"2\"]', '[\"1\",\"2\"]', '01788131222', NULL, NULL, 'ashifcse9@gmail.com', NULL, 'http://google.com', 4, 'Badda, Dhaka-1212', '24.380138', '88.5359756', NULL, '[\"\",\"\",\"\"]', '20210317032045index.png', '[\"20210319085336Accenture-how-we-serve-our-clients.jpg\",\"20210319085336images.jpg\",\"20210319085336imageees.jpg\"]', '[\"1\",\"2\"]', '[\"2\",\"3\"]', '[\"1\",\"2\"]', '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.', 'Test About Company Test About Company Test About Company Test About Company <br><div><br><br></div><div><br></div>', 1, 1, 1, 3, '2022-03-06', 1, '2021-03-05 02:34:31', '2021-03-26 01:03:20', NULL),
(2, 1, 0, 0, 'Babu Group', 'Babu', 'Cheef Executive', '[\"1\"]', '[\"1\"]', '01788131222', NULL, NULL, 'babu@gmail.com', NULL, 'http://www.google.com', 3, 'Uttora, Dhaka', NULL, NULL, NULL, '[\"\",\"\",\"\"]', '20210317032008brand.png', '[\"202103060204478.jpg\",\"202103060204479.JPG\",\"2021030602044710.jpg\"]', '[null]', '[\"1\",\"2\"]', '[\"1\"]', '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. 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. 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.', '<div>Test Company<br></div>', 0, 0, 0, 3, '2022-03-06', 1, '2021-03-05 08:04:47', '2021-03-26 01:03:03', NULL),
(3, 1, 0, 0, 'Ahsan Group', 'sd', 'sd', '[\"1\"]', '[\"1\"]', '12', NULL, NULL, 's@gmail.com', NULL, 'http://www.google.com', 1, 'Dhaka', NULL, NULL, NULL, '[\"\",\"\",\"\"]', '2021031703145355a4ae455411f_thumb900.jpg', '[\"202103060252458.jpg\",\"202103060252459.JPG\",\"2021030602524510.jpg\"]', '[null]', '[\"1\",\"2\",\"3\"]', '', '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.', '<div><br></div>', 0, 0, 0, 2, '2021-09-02', 1, '2021-03-05 08:52:45', '2021-03-26 01:02:37', NULL),
(4, 1, 0, 0, 'Trade Valy', 'Contact', NULL, '[\"1\"]', '[\"1\"]', '01788131222', NULL, NULL, 'ashifcse9@gmail.com', NULL, 'https://www.google.com', 1, 'Dhaka', NULL, NULL, NULL, '[\"\",\"\",\"\"]', '202103260432491.jpg', '[\"202103260432492.jpg\",\"202103260432493.jpg\",\"202103260432494.jpg\"]', '', '[\"1\",\"2\",\"3\"]', '', 'eee', '<div>rr<br></div>', 0, 0, 0, 1, '2021-04-25', 0, '2021-03-25 22:32:49', '2021-03-25 22:32:49', NULL),
(8, 1, 0, 0, 'rr', 'rr', NULL, '[\"1\"]', '[\"1\"]', '22', NULL, NULL, 'ashif@gmail.com', NULL, 'https://www.google.com', 1, 'Dhaka', NULL, NULL, NULL, '[\"\",\"\",\"\"]', '202103260456531.jpg', '[\"202103260456532.jpg\",\"202103260456533.jpg\",\"202103260456534.jpg\"]', '[null]', '[\"1\",\"2\",\"3\"]', '[null]', 'rrr', '<div>rr<br></div>', 0, 0, 0, 1, '2021-04-25', 0, '2021-03-25 22:56:53', '2021-03-26 01:03:32', NULL),
(9, 1, 0, 1, 'Ahsan Group Of Company', 'Md. Ahsan', 'Sales Head', '[\"1\",\"2\"]', '[\"1\",\"2\"]', '017881312222', NULL, NULL, 'as@gmail.com', NULL, 'http:google.com', 4, 'Dhaka', NULL, NULL, NULL, '[\"\",\"\",\"\"]', '202103260504091.jpg', '[\"202103260504095.jpg\",\"202103260504096.jpg\",\"202103260504093.jpg\"]', '', '[\"1\",\"2\",\"3\"]', '[\"1\"]', 'PPPP', '<div>EEE<br></div>', 0, 0, 0, 1, '2021-04-25', 1, '2021-03-25 23:04:09', '2021-03-26 00:21:37', NULL),
(10, 1, 0, 0, 'New Company', 'Test', 'Dhaka', '[\"1\",\"2\"]', '[\"1\",\"2\"]', '01788131222', NULL, NULL, 'ashif@gmail.com', NULL, 'http://www.google.com', 4, 'Dhaka', NULL, NULL, NULL, '[\"\",\"\",\"\"]', '202103260631391.jpg', '[\"202103260631392.jpg\",\"202103260631393.jpg\",\"202103260631394.jpg\"]', '', '[\"1\",\"3\"]', '', 'Dhaka', '<div>Vaa<br></div>', 0, 0, 0, 1, '2021-04-25', 0, '2021-03-26 00:31:39', '2021-03-26 00:40:47', NULL),
(11, 1, 0, 0, 'ds', 'sdsd', NULL, '[\"1\"]', '[\"1\"]', '23', NULL, NULL, 'as@gmail.com', NULL, 'https://prnt.sc/10vpjbt', 2, 'sd', NULL, NULL, NULL, '[\"\",\"\",\"\"]', '202103260647531.jpg', '[\"202103260647532.jpg\",\"202103260647533.jpg\",\"202103260647534.jpg\"]', '', '[\"1\"]', '', 'sdsdasd', '<div>ds<br></div>', 0, 0, 0, 2, '2021-09-22', 0, '2021-03-26 00:47:53', '2021-03-26 00:47:53', NULL),
(12, 1, 0, 0, 'Acomplete IT', 'sdsd', NULL, '[\"1\",\"2\"]', '[\"1\"]', '01788131222', NULL, NULL, 'as@gmail.com', NULL, 'https://prnt.sc/10vpjbt', 2, 'sd', NULL, NULL, NULL, '[\"\",\"\",\"\"]', '202103260650541.jpg', '[\"202103260650542.jpg\",\"202103260650543.jpg\",\"202103260650545.jpg\"]', '', '[\"1\",\"2\"]', '', 'sdsdasd', '<div>ds<br></div>', 0, 0, 0, 1, '2021-04-25', 0, '2021-03-26 00:50:54', '2021-03-26 04:17:06', NULL),
(13, 1, 0, 1, 'Acomplete IT E', 'sdsd', NULL, '[\"1\",\"2\"]', '[\"1\"]', '23', NULL, NULL, 'as@gmail.com', NULL, 'https://prnt.sc/10vpjbt', 2, 'sd', NULL, NULL, NULL, '[\"\",\"\",\"\"]', '202103260651551.jpg', '[\"202103260651552.jpg\",\"202103260651553.jpg\",\"202103260651555.jpg\"]', '', '[\"1\",\"2\"]', '', 'sdsdasd', '<div>ds<br></div>', 0, 0, 0, 1, '2021-04-25', 1, '2021-03-26 00:51:56', '2021-03-26 00:57:53', '2021-03-26 00:57:53');
-- --------------------------------------------------------
--
-- Table structure for table `company_categories`
--
CREATE TABLE `company_categories` (
`id` bigint(20) UNSIGNED NOT NULL,
`created_user_id` int(11) NOT NULL DEFAULT 0,
`modified_user_id` int(11) NOT NULL DEFAULT 0,
`deleted_user_id` int(11) NOT NULL DEFAULT 0,
`name` varchar(60) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`status` int(11) NOT NULL DEFAULT 1 COMMENT '0= Inactive, 1= 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 `company_categories`
--
INSERT INTO `company_categories` (`id`, `created_user_id`, `modified_user_id`, `deleted_user_id`, `name`, `status`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 0, 0, 0, 'Importer', 1, NULL, NULL, NULL),
(2, 0, 0, 0, 'Esporter', 1, NULL, NULL, NULL),
(3, 0, 0, 0, 'Delar', 1, NULL, NULL, NULL);
-- --------------------------------------------------------
--
-- Table structure for table `company_with_category_and_product_category_mappings`
--
CREATE TABLE `company_with_category_and_product_category_mappings` (
`id` bigint(20) UNSIGNED NOT NULL,
`company_id` int(11) NOT NULL DEFAULT 0,
`company_category_id` int(11) NOT NULL DEFAULT 0,
`product_category_id` int(11) NOT NULL DEFAULT 0,
`product_category_step` int(11) NOT NULL DEFAULT 0 COMMENT '1=1st Step Category, 2=2nd Step Category, 3=3rd Step Category, 4=4th Step Category',
`status` int(11) NOT NULL DEFAULT 1 COMMENT '0= Inactive, 1= Active',
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`deleted_at` timestamp NULL DEFAULT NULL,
`deleted_user_id` int(11) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `company_with_category_and_product_category_mappings`
--
INSERT INTO `company_with_category_and_product_category_mappings` (`id`, `company_id`, `company_category_id`, `product_category_id`, `product_category_step`, `status`, `created_at`, `updated_at`, `deleted_at`, `deleted_user_id`) VALUES
(1, 8, 1, 1, 1, 1, '2021-03-25 22:56:53', '2021-03-26 01:03:32', '2021-03-26 01:03:32', 0),
(2, 8, 1, 2, 1, 1, '2021-03-25 22:56:53', '2021-03-26 01:03:32', '2021-03-26 01:03:32', 0),
(3, 8, 1, 13, 2, 1, '2021-03-25 22:56:53', '2021-03-26 01:03:32', '2021-03-26 01:03:32', 0),
(4, 8, 1, 16, 2, 1, '2021-03-25 22:56:53', '2021-03-26 01:03:32', '2021-03-26 01:03:32', 0),
(5, 8, 1, 14, 3, 1, '2021-03-25 22:56:53', '2021-03-26 01:03:32', '2021-03-26 01:03:32', 0),
(6, 8, 1, 15, 4, 1, '2021-03-25 22:56:53', '2021-03-26 01:03:32', '2021-03-26 01:03:32', 0),
(7, 8, 2, 1, 1, 1, '2021-03-25 22:56:53', '2021-03-26 01:03:32', '2021-03-26 01:03:32', 0),
(8, 8, 2, 2, 1, 1, '2021-03-25 22:56:53', '2021-03-26 01:03:32', '2021-03-26 01:03:32', 0),
(9, 8, 2, 13, 2, 1, '2021-03-25 22:56:53', '2021-03-26 01:03:32', '2021-03-26 01:03:32', 0),
(10, 8, 2, 16, 2, 1, '2021-03-25 22:56:53', '2021-03-26 01:03:32', '2021-03-26 01:03:32', 0),
(11, 8, 2, 14, 3, 1, '2021-03-25 22:56:53', '2021-03-26 01:03:32', '2021-03-26 01:03:32', 0),
(12, 8, 2, 15, 4, 1, '2021-03-25 22:56:53', '2021-03-26 01:03:32', '2021-03-26 01:03:32', 0),
(13, 8, 3, 1, 1, 1, '2021-03-25 22:56:53', '2021-03-26 01:03:32', '2021-03-26 01:03:32', 0),
(14, 8, 3, 2, 1, 1, '2021-03-25 22:56:53', '2021-03-26 01:03:32', '2021-03-26 01:03:32', 0),
(15, 8, 3, 13, 2, 1, '2021-03-25 22:56:53', '2021-03-26 01:03:32', '2021-03-26 01:03:32', 0),
(16, 8, 3, 16, 2, 1, '2021-03-25 22:56:54', '2021-03-26 01:03:32', '2021-03-26 01:03:32', 0),
(17, 8, 3, 14, 3, 1, '2021-03-25 22:56:54', '2021-03-26 01:03:32', '2021-03-26 01:03:32', 0),
(18, 8, 3, 15, 4, 1, '2021-03-25 22:56:54', '2021-03-26 01:03:32', '2021-03-26 01:03:32', 0),
(123, 10, 3, 1, 1, 0, '2021-03-26 00:41:05', '2021-03-26 00:41:05', NULL, 0),
(124, 10, 3, 2, 1, 0, '2021-03-26 00:41:05', '2021-03-26 00:41:05', NULL, 0),
(125, 10, 3, 13, 2, 0, '2021-03-26 00:41:05', '2021-03-26 00:41:05', NULL, 0),
(126, 10, 3, 16, 2, 0, '2021-03-26 00:41:05', '2021-03-26 00:41:05', NULL, 0),
(127, 10, 3, 14, 3, 0, '2021-03-26 00:41:05', '2021-03-26 00:41:05', NULL, 0),
(128, 10, 3, 15, 4, 0, '2021-03-26 00:41:05', '2021-03-26 00:41:05', NULL, 0),
(129, 11, 1, 1, 1, 0, '2021-03-26 00:47:53', '2021-03-26 00:47:53', NULL, 0),
(130, 11, 1, 13, 2, 0, '2021-03-26 00:47:53', '2021-03-26 00:47:53', NULL, 0),
(131, 11, 1, 14, 3, 0, '2021-03-26 00:47:53', '2021-03-26 00:47:53', NULL, 0),
(132, 11, 1, 15, 4, 0, '2021-03-26 00:47:53', '2021-03-26 00:47:53', NULL, 0),
(133, 12, 1, 1, 1, 0, '2021-03-26 00:50:54', '2021-03-26 00:59:59', '2021-03-26 00:59:59', 0),
(134, 12, 1, 2, 1, 0, '2021-03-26 00:50:54', '2021-03-26 00:59:59', '2021-03-26 00:59:59', 0),
(135, 12, 1, 13, 2, 0, '2021-03-26 00:50:54', '2021-03-26 00:59:59', '2021-03-26 00:59:59', 0),
(136, 12, 1, 16, 2, 0, '2021-03-26 00:50:54', '2021-03-26 00:59:59', '2021-03-26 00:59:59', 0),
(137, 12, 1, 14, 3, 0, '2021-03-26 00:50:54', '2021-03-26 00:59:59', '2021-03-26 00:59:59', 0),
(138, 12, 1, 15, 4, 0, '2021-03-26 00:50:54', '2021-03-26 00:59:59', '2021-03-26 00:59:59', 0),
(139, 12, 2, 1, 1, 0, '2021-03-26 00:50:54', '2021-03-26 00:59:59', '2021-03-26 00:59:59', 0),
(140, 12, 2, 2, 1, 0, '2021-03-26 00:50:54', '2021-03-26 00:59:59', '2021-03-26 00:59:59', 0),
(141, 12, 2, 13, 2, 0, '2021-03-26 00:50:54', '2021-03-26 00:59:59', '2021-03-26 00:59:59', 0),
(142, 12, 2, 16, 2, 0, '2021-03-26 00:50:54', '2021-03-26 00:59:59', '2021-03-26 00:59:59', 0),
(143, 12, 2, 14, 3, 0, '2021-03-26 00:50:54', '2021-03-26 00:59:59', '2021-03-26 00:59:59', 0),
(144, 12, 2, 15, 4, 0, '2021-03-26 00:50:54', '2021-03-26 00:59:59', '2021-03-26 00:59:59', 0),
(169, 13, 1, 1, 1, 1, '2021-03-26 00:56:21', '2021-03-26 00:57:53', '2021-03-26 00:57:53', 0),
(170, 13, 1, 2, 1, 1, '2021-03-26 00:56:21', '2021-03-26 00:57:10', '2021-03-26 00:57:10', 0),
(171, 13, 1, 13, 2, 1, '2021-03-26 00:56:21', '2021-03-26 00:57:10', '2021-03-26 00:57:10', 0),
(172, 13, 1, 16, 2, 1, '2021-03-26 00:56:21', '2021-03-26 00:57:10', '2021-03-26 00:57:10', 0),
(173, 13, 1, 14, 3, 1, '2021-03-26 00:56:21', '2021-03-26 00:57:10', '2021-03-26 00:57:10', 0),
(174, 13, 1, 15, 4, 1, '2021-03-26 00:56:21', '2021-03-26 00:57:10', '2021-03-26 00:57:10', 0),
(175, 13, 2, 1, 1, 1, '2021-03-26 00:56:21', '2021-03-26 00:57:10', '2021-03-26 00:57:10', 0),
(176, 13, 2, 2, 1, 1, '2021-03-26 00:56:21', '2021-03-26 00:57:10', '2021-03-26 00:57:10', 0),
(177, 13, 2, 13, 2, 1, '2021-03-26 00:56:21', '2021-03-26 00:57:10', '2021-03-26 00:57:10', 0),
(178, 13, 2, 16, 2, 1, '2021-03-26 00:56:21', '2021-03-26 00:57:10', '2021-03-26 00:57:10', 0),
(179, 13, 2, 14, 3, 1, '2021-03-26 00:56:21', '2021-03-26 00:57:10', '2021-03-26 00:57:10', 0),
(180, 13, 2, 15, 4, 1, '2021-03-26 00:56:21', '2021-03-26 00:57:10', '2021-03-26 00:57:10', 0),
(181, 12, 1, 1, 1, 0, '2021-03-26 00:59:59', '2021-03-26 04:17:06', '2021-03-26 04:17:06', 0),
(182, 12, 1, 2, 1, 0, '2021-03-26 00:59:59', '2021-03-26 04:17:06', '2021-03-26 04:17:06', 0),
(183, 12, 1, 13, 2, 0, '2021-03-26 00:59:59', '2021-03-26 04:17:06', '2021-03-26 04:17:06', 0),
(184, 12, 1, 16, 2, 0, '2021-03-26 00:59:59', '2021-03-26 04:17:06', '2021-03-26 04:17:06', 0),
(185, 12, 1, 14, 3, 0, '2021-03-26 00:59:59', '2021-03-26 04:17:06', '2021-03-26 04:17:06', 0),
(186, 12, 1, 15, 4, 0, '2021-03-26 00:59:59', '2021-03-26 04:17:06', '2021-03-26 04:17:06', 0),
(187, 12, 2, 1, 1, 0, '2021-03-26 00:59:59', '2021-03-26 04:17:06', '2021-03-26 04:17:06', 0),
(188, 12, 2, 2, 1, 0, '2021-03-26 00:59:59', '2021-03-26 04:17:06', '2021-03-26 04:17:06', 0),
(189, 12, 2, 13, 2, 0, '2021-03-26 00:59:59', '2021-03-26 04:17:06', '2021-03-26 04:17:06', 0),
(190, 12, 2, 16, 2, 0, '2021-03-26 01:00:00', '2021-03-26 04:17:06', '2021-03-26 04:17:06', 0),
(191, 12, 2, 14, 3, 0, '2021-03-26 01:00:00', '2021-03-26 04:17:06', '2021-03-26 04:17:06', 0),
(192, 12, 2, 15, 4, 0, '2021-03-26 01:00:00', '2021-03-26 04:17:06', '2021-03-26 04:17:06', 0),
(193, 3, 1, 1, 1, 1, '2021-03-26 01:02:37', '2021-03-26 01:02:37', NULL, 0),
(194, 3, 1, 13, 2, 1, '2021-03-26 01:02:37', '2021-03-26 01:02:37', NULL, 0),
(195, 3, 1, 14, 3, 1, '2021-03-26 01:02:37', '2021-03-26 01:02:37', NULL, 0),
(196, 3, 1, 15, 4, 1, '2021-03-26 01:02:37', '2021-03-26 01:02:37', NULL, 0),
(197, 3, 2, 1, 1, 1, '2021-03-26 01:02:37', '2021-03-26 01:02:37', NULL, 0),
(198, 3, 2, 13, 2, 1, '2021-03-26 01:02:38', '2021-03-26 01:02:38', NULL, 0),
(199, 3, 2, 14, 3, 1, '2021-03-26 01:02:38', '2021-03-26 01:02:38', NULL, 0),
(200, 3, 2, 15, 4, 1, '2021-03-26 01:02:38', '2021-03-26 01:02:38', NULL, 0),
(201, 3, 3, 1, 1, 1, '2021-03-26 01:02:38', '2021-03-26 01:02:38', NULL, 0),
(202, 3, 3, 13, 2, 1, '2021-03-26 01:02:38', '2021-03-26 01:02:38', NULL, 0),
(203, 3, 3, 14, 3, 1, '2021-03-26 01:02:38', '2021-03-26 01:02:38', NULL, 0),
(204, 3, 3, 15, 4, 1, '2021-03-26 01:02:38', '2021-03-26 01:02:38', NULL, 0),
(205, 2, 1, 2, 1, 1, '2021-03-26 01:03:03', '2021-03-26 01:03:03', NULL, 0),
(206, 2, 1, 18, 2, 1, '2021-03-26 01:03:03', '2021-03-26 01:03:03', NULL, 0),
(207, 2, 1, 20, 3, 1, '2021-03-26 01:03:03', '2021-03-26 01:03:03', NULL, 0),
(208, 2, 2, 2, 1, 1, '2021-03-26 01:03:03', '2021-03-26 01:03:03', NULL, 0),
(209, 2, 2, 18, 2, 1, '2021-03-26 01:03:03', '2021-03-26 01:03:03', NULL, 0),
(210, 2, 2, 20, 3, 1, '2021-03-26 01:03:03', '2021-03-26 01:03:03', NULL, 0),
(211, 1, 2, 3, 1, 1, '2021-03-26 01:03:20', '2021-03-26 01:03:20', NULL, 0),
(212, 1, 3, 3, 1, 1, '2021-03-26 01:03:20', '2021-03-26 01:03:20', NULL, 0),
(213, 8, 1, 2, 1, 0, '2021-03-26 01:03:32', '2021-03-26 01:03:32', NULL, 0),
(214, 8, 2, 2, 1, 0, '2021-03-26 01:03:32', '2021-03-26 01:03:32', NULL, 0),
(215, 8, 3, 2, 1, 0, '2021-03-26 01:03:32', '2021-03-26 01:03:32', NULL, 0),
(216, 12, 1, 1, 1, 0, '2021-03-26 04:17:06', '2021-03-26 04:17:06', NULL, 0),
(217, 12, 1, 2, 1, 0, '2021-03-26 04:17:06', '2021-03-26 04:17:06', NULL, 0),
(218, 12, 1, 13, 2, 0, '2021-03-26 04:17:06', '2021-03-26 04:17:06', NULL, 0),
(219, 12, 1, 16, 2, 0, '2021-03-26 04:17:06', '2021-03-26 04:17:06', NULL, 0),
(220, 12, 1, 14, 3, 0, '2021-03-26 04:17:06', '2021-03-26 04:17:06', NULL, 0),
(221, 12, 1, 15, 4, 0, '2021-03-26 04:17:06', '2021-03-26 04:17:06', NULL, 0),
(222, 12, 2, 1, 1, 0, '2021-03-26 04:17:06', '2021-03-26 04:17:06', NULL, 0),
(223, 12, 2, 2, 1, 0, '2021-03-26 04:17:06', '2021-03-26 04:17:06', NULL, 0),
(224, 12, 2, 13, 2, 0, '2021-03-26 04:17:06', '2021-03-26 04:17:06', NULL, 0),
(225, 12, 2, 16, 2, 0, '2021-03-26 04:17:06', '2021-03-26 04:17:06', NULL, 0),
(226, 12, 2, 14, 3, 0, '2021-03-26 04:17:06', '2021-03-26 04:17:06', NULL, 0),
(227, 12, 2, 15, 4, 0, '2021-03-26 04:17:06', '2021-03-26 04:17:06', NULL, 0);
-- --------------------------------------------------------
--
-- Table structure for table `company_with_category_mappings`
--
CREATE TABLE `company_with_category_mappings` (
`id` bigint(20) UNSIGNED NOT NULL,
`company_id` int(11) NOT NULL DEFAULT 0,
`company_category_id` int(11) NOT NULL DEFAULT 0,
`status` int(11) NOT NULL DEFAULT 1 COMMENT '0= Inactive, 1= Active',
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`deleted_at` timestamp NULL DEFAULT NULL,
`deleted_user_id` int(11) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `company_with_category_mappings`
--
INSERT INTO `company_with_category_mappings` (`id`, `company_id`, `company_category_id`, `status`, `created_at`, `updated_at`, `deleted_at`, `deleted_user_id`) VALUES
(1, 8, 1, 1, '2021-03-25 22:56:53', '2021-03-26 01:03:32', '2021-03-26 01:03:32', 0),
(2, 8, 2, 1, '2021-03-25 22:56:53', '2021-03-26 01:03:32', '2021-03-26 01:03:32', 0),
(3, 8, 3, 1, '2021-03-25 22:56:53', '2021-03-26 01:03:32', '2021-03-26 01:03:32', 0),
(35, 10, 1, 1, '2021-03-26 00:41:04', '2021-03-26 00:41:04', NULL, 0),
(36, 10, 3, 1, '2021-03-26 00:41:05', '2021-03-26 00:41:05', NULL, 0),
(37, 11, 1, 0, '2021-03-26 00:47:53', '2021-03-26 00:47:53', NULL, 0),
(38, 12, 1, 0, '2021-03-26 00:50:54', '2021-03-26 00:59:59', '2021-03-26 00:59:59', 0),
(39, 12, 2, 0, '2021-03-26 00:50:54', '2021-03-26 00:59:59', '2021-03-26 00:59:59', 0),
(44, 13, 1, 1, '2021-03-26 00:56:21', '2021-03-26 00:57:10', '2021-03-26 00:57:10', 0),
(45, 13, 2, 1, '2021-03-26 00:56:21', '2021-03-26 00:57:10', '2021-03-26 00:57:10', 0),
(46, 12, 1, 1, '2021-03-26 00:59:59', '2021-03-26 04:17:06', '2021-03-26 04:17:06', 0),
(47, 12, 2, 1, '2021-03-26 00:59:59', '2021-03-26 04:17:06', '2021-03-26 04:17:06', 0),
(48, 3, 1, 1, '2021-03-26 01:02:37', '2021-03-26 01:02:37', NULL, 0),
(49, 3, 2, 1, '2021-03-26 01:02:37', '2021-03-26 01:02:37', NULL, 0),
(50, 3, 3, 1, '2021-03-26 01:02:38', '2021-03-26 01:02:38', NULL, 0),
(51, 2, 1, 1, '2021-03-26 01:03:03', '2021-03-26 01:03:03', NULL, 0),
(52, 2, 2, 1, '2021-03-26 01:03:03', '2021-03-26 01:03:03', NULL, 0),
(53, 1, 2, 1, '2021-03-26 01:03:20', '2021-03-26 01:03:20', NULL, 0),
(54, 1, 3, 1, '2021-03-26 01:03:20', '2021-03-26 01:03:20', NULL, 0),
(55, 8, 1, 1, '2021-03-26 01:03:32', '2021-03-26 01:03:32', NULL, 0),
(56, 8, 2, 1, '2021-03-26 01:03:32', '2021-03-26 01:03:32', NULL, 0),
(57, 8, 3, 1, '2021-03-26 01:03:32', '2021-03-26 01:03:32', NULL, 0),
(58, 12, 1, 1, '2021-03-26 04:17:06', '2021-03-26 04:17:06', NULL, 0),
(59, 12, 2, 1, '2021-03-26 04:17:06', '2021-03-26 04:17:06', NULL, 0);
-- --------------------------------------------------------
--
-- Table structure for table `countries`
--
CREATE TABLE `countries` (
`id` bigint(20) UNSIGNED NOT NULL,
`created_user_id` int(11) NOT NULL DEFAULT 0,
`modified_user_id` int(11) NOT NULL DEFAULT 0,
`deleted_user_id` int(11) NOT NULL DEFAULT 0,
`name` varchar(60) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`calling_code` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`currency_name` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`currency_sign` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`flag` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`status` int(11) NOT NULL DEFAULT 1 COMMENT '0= Inactive, 1= 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 `countries`
--
INSERT INTO `countries` (`id`, `created_user_id`, `modified_user_id`, `deleted_user_id`, `name`, `calling_code`, `currency_name`, `currency_sign`, `flag`, `status`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 0, 0, 0, 'Bangladesh', '+88', 'Taka', '৳', 'bangladesh.png', 1, NULL, NULL, NULL),
(2, 0, 0, 0, 'India', '+91', 'INR', '₹', 'india.jpg', 1, NULL, NULL, NULL),
(3, 0, 0, 0, 'USA', '+1', 'USD', '$', 'usa.jpg', 1, NULL, NULL, NULL),
(4, 0, 0, 0, 'Taiwanese', '+886', 'New Taiwan Dollar', 'NT$', 'taiwanese.png', 1, NULL, NULL, NULL);
-- --------------------------------------------------------
--
-- Table structure for table `durations`
--
CREATE TABLE `durations` (
`id` bigint(20) UNSIGNED NOT NULL,
`created_user_id` int(11) NOT NULL DEFAULT 0,
`modified_user_id` int(11) NOT NULL DEFAULT 0,
`deleted_user_id` int(11) NOT NULL DEFAULT 0,
`name` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`status` int(11) NOT NULL DEFAULT 1 COMMENT '0= Inactive, 1= 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 `durations`
--
INSERT INTO `durations` (`id`, `created_user_id`, `modified_user_id`, `deleted_user_id`, `name`, `status`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 0, 0, 0, '30', 1, NULL, NULL, NULL),
(2, 0, 0, 0, '180', 1, NULL, NULL, NULL),
(3, 0, 0, 0, '365', 1, NULL, NULL, NULL);
-- --------------------------------------------------------
--
-- Table structure for table `failed_jobs`
--
CREATE TABLE `failed_jobs` (
`id` bigint(20) UNSIGNED NOT NULL,
`uuid` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`connection` text COLLATE utf8mb4_unicode_ci NOT NULL,
`queue` text COLLATE utf8mb4_unicode_ci NOT NULL,
`payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`exception` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`failed_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `migrations`
--
CREATE TABLE `migrations` (
`id` int(10) UNSIGNED NOT NULL,
`migration` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`batch` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `migrations`
--
INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
(1, '2014_10_12_000000_create_users_table', 1),
(2, '2014_10_12_100000_create_password_resets_table', 1),
(3, '2019_08_19_000000_create_failed_jobs_table', 1),
(4, '2020_12_16_053430_create_permission_tables', 1),
(5, '2020_12_16_105352_create_categories_table', 1),
(6, '2021_01_01_045614_create_company_categories_table', 1),
(8, '2021_01_01_084339_create_countries_table', 1),
(9, '2021_01_01_084827_create_brands_table', 1),
(10, '2021_01_08_052810_create_cities_table', 1),
(11, '2021_01_08_104616_create_years_table', 1),
(12, '2021_01_08_141241_create_packages_table', 1),
(13, '2021_01_08_142358_create_durations_table', 1),
(14, '2021_01_19_093759_create_units_table', 1),
(15, '2021_01_19_095713_create_sizes_table', 1),
(16, '2021_01_19_103014_create_colors_table', 1),
(17, '2021_01_22_070002_create_products_table', 1),
(18, '2021_01_22_103822_create_product_prices', 1),
(19, '2021_01_22_112402_create_product_inventories', 1),
(20, '2021_02_23_115606_create_product_category_details_table', 1),
(21, '2021_03_06_081038_create_company_category_details', 1),
(22, '2021_03_12_102720_create_recommends_table', 1),
(23, '2021_03_12_114219_create_why_tradevalies_table', 1),
(28, '2021_01_01_062123_create_companies_table', 2),
(32, '2021_03_17_051104_create_company_with_category_mappings_table', 3),
(33, '2021_03_26_041328_create_company_with_category_and_product_category_mappings_table', 3);
-- --------------------------------------------------------
--
-- Table structure for table `model_has_permissions`
--
CREATE TABLE `model_has_permissions` (
`permission_id` bigint(20) UNSIGNED NOT NULL,
`model_type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`model_id` bigint(20) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `model_has_roles`
--
CREATE TABLE `model_has_roles` (
`role_id` bigint(20) UNSIGNED NOT NULL,
`model_type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`model_id` bigint(20) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `model_has_roles`
--
INSERT INTO `model_has_roles` (`role_id`, `model_type`, `model_id`) VALUES
(1, 'App\\Models\\User', 1),
(1, 'App\\Models\\User', 2);
-- --------------------------------------------------------
--
-- Table structure for table `packages`
--
CREATE TABLE `packages` (
`id` bigint(20) UNSIGNED NOT NULL,
`created_user_id` int(11) NOT NULL DEFAULT 0,
`modified_user_id` int(11) NOT NULL DEFAULT 0,
`deleted_user_id` int(11) NOT NULL DEFAULT 0,
`name` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`duration_id` int(11) DEFAULT NULL,
`price` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`description` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`status` int(11) NOT NULL DEFAULT 1 COMMENT '0= Inactive, 1= 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 `packages`
--
INSERT INTO `packages` (`id`, `created_user_id`, `modified_user_id`, `deleted_user_id`, `name`, `duration_id`, `price`, `description`, `status`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 0, 0, 0, 'Default', 1, '0', NULL, 1, NULL, NULL, NULL),
(2, 0, 0, 0, 'Silver', 2, '2000', NULL, 1, NULL, NULL, NULL),
(3, 0, 0, 0, 'Gold', 3, '5000', NULL, 1, NULL, NULL, NULL);
-- --------------------------------------------------------
--
-- Table structure for table `password_resets`
--
CREATE TABLE `password_resets` (
`email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`token` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `permissions`
--
CREATE TABLE `permissions` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`guard_name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `permissions`
--
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `created_at`, `updated_at`) VALUES
(1, 'role-list', 'web', '2021-03-17 09:54:27', '2021-03-17 09:54:27'),
(2, 'role-create', 'web', '2021-03-17 09:54:27', '2021-03-17 09:54:27'),
(3, 'role-edit', 'web', '2021-03-17 09:54:27', '2021-03-17 09:54:27'),
(4, 'role-delete', 'web', '2021-03-17 09:54:27', '2021-03-17 09:54:27'),
(5, 'product-category-list', 'web', '2021-03-17 09:54:27', '2021-03-17 09:54:27'),
(6, 'product-category-create', 'web', '2021-03-17 09:54:27', '2021-03-17 09:54:27'),
(7, 'product-category-edit', 'web', '2021-03-17 09:54:27', '2021-03-17 09:54:27'),
(8, 'product-category-delete', 'web', '2021-03-17 09:54:27', '2021-03-17 09:54:27'),
(9, 'product-list', 'web', '2021-03-17 09:54:27', '2021-03-17 09:54:27'),
(10, 'product-create', 'web', '2021-03-17 09:54:27', '2021-03-17 09:54:27'),
(11, 'product-edit', 'web', '2021-03-17 09:54:27', '2021-03-17 09:54:27'),
(12, 'product-delete', 'web', '2021-03-17 09:54:27', '2021-03-17 09:54:27');
-- --------------------------------------------------------
--
-- Table structure for table `products`
--
CREATE TABLE `products` (
`id` bigint(20) UNSIGNED NOT NULL,
`created_user_id` int(11) NOT NULL DEFAULT 0,
`modified_user_id` int(11) NOT NULL DEFAULT 0,
`deleted_user_id` int(11) NOT NULL DEFAULT 0,
`company_id` int(11) NOT NULL DEFAULT 0,
`product_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`short_description` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`description` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`unit_id` int(11) NOT NULL DEFAULT 0,
`size_id` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`color_id` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`feature_product_image` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`galleries` text COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Json data',
`youtube_video` text COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Json data',
`related_products` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Json data',
`catelog_file` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`catelog_showable` tinyint(4) NOT NULL DEFAULT 0 COMMENT '1= Show, 2= Hidden',
`tds_file` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`tds_showable` tinyint(4) NOT NULL DEFAULT 0 COMMENT '1= Show, 2= Hidden',
`tentitive_delivery_days` tinyint(4) DEFAULT 3,
`status` tinyint(4) NOT NULL DEFAULT 1 COMMENT '0= Inactive, 1= 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 `products`
--
INSERT INTO `products` (`id`, `created_user_id`, `modified_user_id`, `deleted_user_id`, `company_id`, `product_name`, `short_description`, `description`, `unit_id`, `size_id`, `color_id`, `feature_product_image`, `galleries`, `youtube_video`, `related_products`, `catelog_file`, `catelog_showable`, `tds_file`, `tds_showable`, `tentitive_delivery_days`, `status`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 1, 0, 0, 1, 'Watch', NULL, '<div><br></div>', 1, '', '', '202103060908571.jpg', '[\"202103060908572.jpg\",\"202103060908573.jpg\",\"202103060908574.jpg\",\"202103060908575.jpg\",\"202103060908576.jpg\"]', NULL, '0', '', 0, '', 0, 3, 1, '2021-03-05 21:08:57', '2021-03-05 21:08:57', NULL);
-- --------------------------------------------------------
--
-- Table structure for table `product_categories`
--
CREATE TABLE `product_categories` (
`id` bigint(20) UNSIGNED NOT NULL,
`category_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`icon` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`first_parent_id` int(11) NOT NULL DEFAULT 0,
`second_parent_id` int(11) NOT NULL DEFAULT 0,
`third_parent_id` int(11) NOT NULL DEFAULT 0,
`status` int(11) NOT NULL DEFAULT 1 COMMENT '0= Inactive, 1= 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 `product_categories`
--
INSERT INTO `product_categories` (`id`, `category_name`, `icon`, `first_parent_id`, `second_parent_id`, `third_parent_id`, `status`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 'Mechanical Engineering', '2021031704545320210219031015icon1.png', 0, 0, 0, 1, '2021-02-18 05:19:35', '2021-03-16 16:54:53', NULL),
(2, 'Electrical & Electronics', '2021031704553520210219031024icon2.png', 0, 0, 0, 1, '2021-02-18 05:25:27', '2021-03-16 16:55:35', NULL),
(3, 'Industrial Machinery', '2021031704555120210219034352icon3.png', 0, 0, 0, 1, '2021-02-18 05:25:37', '2021-03-16 16:55:51', NULL),
(4, 'Industrial Chemicals', '2021031704555920210219034400icon4.png', 0, 0, 0, 1, '2021-02-18 05:25:47', '2021-03-16 16:55:59', NULL),
(5, 'Tools & Hardware', '2021031704560620210219034802icon8.png', 0, 0, 0, 1, '2021-02-18 05:25:58', '2021-03-16 16:56:06', NULL),
(6, 'Plastic & Rubber', '2021031704561420210219034854top-icon6.png', 0, 0, 0, 1, '2021-02-18 05:26:09', '2021-03-16 16:56:14', NULL),
(7, 'Services To Industries', '2021031704562620210219034428icon6.png', 0, 0, 0, 1, '2021-02-18 05:26:20', '2021-03-16 16:56:26', NULL),
(8, 'Printing & Packaging', '2021031704563520210219034412icon5.png', 0, 0, 0, 1, '2021-02-18 05:26:30', '2021-03-16 16:56:35', NULL),
(9, 'Security & Protection', '2021031704565720210219034816icon9.png', 0, 0, 0, 1, '2021-02-18 05:26:42', '2021-03-16 16:56:57', NULL),
(10, 'Food & Beverage', '20210317045905top-icon10.png', 0, 0, 0, 1, '2021-02-18 05:26:52', '2021-03-16 16:59:05', NULL),
(11, 'Automobile & Accessories', '20210317045928top-icon11.png', 0, 0, 0, 1, '2021-02-18 05:27:02', '2021-03-16 16:59:28', NULL),
(12, 'Construction & Decoration', '20210317045941top-icon12.png', 0, 0, 0, 1, '2021-02-18 05:27:26', '2021-03-16 16:59:41', NULL),
(13, 'AAA', NULL, 1, 0, 0, 1, '2021-02-22 13:45:49', '2021-02-22 13:45:49', NULL),
(14, 'VVV', NULL, 1, 13, 0, 1, '2021-02-22 13:45:54', '2021-02-22 13:45:54', NULL),
(15, 'TTT', NULL, 1, 13, 14, 1, '2021-02-22 13:46:00', '2021-02-22 13:46:00', NULL),
(16, 'RRR', NULL, 1, 0, 0, 1, '2021-02-22 13:46:06', '2021-02-22 13:46:06', NULL),
(17, 'AA', NULL, 1, 0, 0, 1, '2021-03-16 20:30:45', '2021-03-16 20:30:45', NULL),
(18, 'ERE', NULL, 2, 0, 0, 1, '2021-03-16 22:47:44', '2021-03-16 22:47:44', NULL),
(19, 'Tyu', NULL, 2, 0, 0, 1, '2021-03-16 23:03:07', '2021-03-16 23:03:07', NULL),
(20, 'TT', NULL, 2, 18, 0, 1, '2021-03-16 23:08:54', '2021-03-16 23:08:54', NULL),
(21, 'YY', NULL, 2, 18, 20, 1, '2021-03-16 23:09:02', '2021-03-16 23:09:02', NULL),
(22, 'ea', NULL, 1, 16, 0, 1, '2021-03-26 05:26:41', '2021-03-26 05:26:41', NULL),
(23, 'RR', NULL, 1, 16, 22, 1, '2021-03-26 05:45:47', '2021-03-26 05:45:47', NULL);
-- --------------------------------------------------------
--
-- Table structure for table `product_category_details`
--
CREATE TABLE `product_category_details` (
`id` bigint(20) UNSIGNED NOT NULL,
`product_id` int(11) NOT NULL DEFAULT 0,
`product_category_id` int(11) NOT NULL DEFAULT 0,
`category_type` int(11) NOT NULL DEFAULT 0 COMMENT '1= 1st step, 2= 2nd step, 3= 3rd step, 4= 4th step',
`status` int(11) NOT NULL DEFAULT 1 COMMENT '0= Inactive, 1= 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 `product_category_details`
--
INSERT INTO `product_category_details` (`id`, `product_id`, `product_category_id`, `category_type`, `status`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 1, 2, 1, 1, '2021-03-05 21:08:57', '2021-03-05 21:08:57', NULL);
-- --------------------------------------------------------
--
-- Table structure for table `product_inventories`
--
CREATE TABLE `product_inventories` (
`id` bigint(20) UNSIGNED NOT NULL,
`created_user_id` int(11) NOT NULL DEFAULT 0,
`modified_user_id` int(11) NOT NULL DEFAULT 0,
`deleted_user_id` int(11) NOT NULL DEFAULT 0,
`product_id` int(11) NOT NULL DEFAULT 0,
`batch_no` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`in_stock` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`sale_qty` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`inventory_status` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`status` int(11) NOT NULL DEFAULT 1 COMMENT '0= Inactive, 1= 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 `product_inventories`
--
INSERT INTO `product_inventories` (`id`, `created_user_id`, `modified_user_id`, `deleted_user_id`, `product_id`, `batch_no`, `in_stock`, `sale_qty`, `inventory_status`, `status`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 1, 0, 0, 1, '1-20210306090857', '12', NULL, '12', 1, '2021-03-05 21:08:57', '2021-03-05 21:08:57', NULL);
-- --------------------------------------------------------
--
-- Table structure for table `product_prices`
--
CREATE TABLE `product_prices` (
`id` bigint(20) UNSIGNED NOT NULL,
`created_user_id` int(11) NOT NULL DEFAULT 0,
`modified_user_id` int(11) NOT NULL DEFAULT 0,
`deleted_user_id` int(11) NOT NULL DEFAULT 0,
`product_id` int(11) NOT NULL DEFAULT 0,
`price_type` tinyint(4) NOT NULL DEFAULT 0 COMMENT '1= Normal, 2= Quotation Wise',
`regular_price` decimal(8,2) DEFAULT 0.00,
`offcer_price` decimal(8,2) DEFAULT 0.00,
`discount` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '%',
`discount_close_date` date DEFAULT NULL,
`offer_type` tinyint(4) DEFAULT NULL COMMENT '1= Special, 2 = Coupon',
`net_price` decimal(8,2) DEFAULT 0.00,
`from_price` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`to_price` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`negotiable` tinyint(4) NOT NULL DEFAULT 2 COMMENT '1 =Yes, 2= No',
`status` int(11) NOT NULL DEFAULT 1 COMMENT '0= Inactive, 1= 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 `product_prices`
--
INSERT INTO `product_prices` (`id`, `created_user_id`, `modified_user_id`, `deleted_user_id`, `product_id`, `price_type`, `regular_price`, `offcer_price`, `discount`, `discount_close_date`, `offer_type`, `net_price`, `from_price`, `to_price`, `negotiable`, `status`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 1, 0, 0, 1, 1, '8500.00', '8200.00', '3.53', '2021-03-06', 1, '8200.00', '', '', 0, 1, '2021-03-05 21:08:57', '2021-03-05 21:08:57', NULL);
-- --------------------------------------------------------
--
-- Table structure for table `recommends`
--
CREATE TABLE `recommends` (
`id` bigint(20) UNSIGNED NOT NULL,
`created_user_id` int(11) NOT NULL DEFAULT 0,
`modified_user_id` int(11) NOT NULL DEFAULT 0,
`deleted_user_id` int(11) NOT NULL DEFAULT 0,
`banner_image` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`title` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`video` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`point_one` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`point_two` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`point_three` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`button_url` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`recommend_logo` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`slogan` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`description` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`footer_text` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`status` int(11) NOT NULL DEFAULT 1 COMMENT '0= Inactive, 1= 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 `recommends`
--
INSERT INTO `recommends` (`id`, `created_user_id`, `modified_user_id`, `deleted_user_id`, `banner_image`, `title`, `video`, `point_one`, `point_two`, `point_three`, `button_url`, `recommend_logo`, `slogan`, `description`, `footer_text`, `status`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 1, 1, 1, 'banner_image20210312114105bnr-back-min.png', 'Tradevaley Recommends Certified!', 'urQ1s5VLGwM', 'Get your business listed and Raise Awareness of your audience.', 'Add your business in a map listing to allow people to find you Conveniently and Easily.', 'Grab attention with a Feature-Rich Business Profile that is easy to navigate and get in touch with you in a snap.', 'https://www.gsearch.com.sg/', 'recommend_logo20210312113246gsearch-recommends-logo.png', 'Beat Covid-19! Reach out to your customers effectively and put your business on the map!', 'Businesses who are with Tradevaley Recommends will be awarded a Sticker to paste in their Establishment. With this sticker, customers can easily find your business listing and information on Tradevaley Recommends, using the QR Code.', 'G search Recommends is the most affordable and cost-effective platform that caters to Singapore business establishments that aims to helps improve your visibility online by boosting the important information about your business and attract your targeted customers.', 1, '2021-03-11 23:32:46', '2021-03-12 00:26:38', NULL);
-- --------------------------------------------------------
--
-- Table structure for table `roles`
--
CREATE TABLE `roles` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`guard_name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `roles`
--
INSERT INTO `roles` (`id`, `name`, `guard_name`, `created_at`, `updated_at`) VALUES
(1, 'Admin', 'web', '2021-03-17 09:54:33', '2021-03-17 09:54:33');
-- --------------------------------------------------------
--
-- Table structure for table `role_has_permissions`
--
CREATE TABLE `role_has_permissions` (
`permission_id` bigint(20) UNSIGNED NOT NULL,
`role_id` bigint(20) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `role_has_permissions`
--
INSERT INTO `role_has_permissions` (`permission_id`, `role_id`) VALUES
(1, 1),
(2, 1),
(3, 1),
(4, 1),
(5, 1),
(6, 1),
(7, 1),
(8, 1),
(9, 1),
(10, 1),
(11, 1),
(12, 1);
-- --------------------------------------------------------
--
-- Table structure for table `sizes`
--
CREATE TABLE `sizes` (
`id` bigint(20) UNSIGNED NOT NULL,
`created_user_id` int(11) NOT NULL DEFAULT 0,
`modified_user_id` int(11) NOT NULL DEFAULT 0,
`deleted_user_id` int(11) NOT NULL DEFAULT 0,
`name` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`status` int(11) NOT NULL DEFAULT 1 COMMENT '0= Inactive, 1= 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;
-- --------------------------------------------------------
--
-- Table structure for table `units`
--
CREATE TABLE `units` (
`id` bigint(20) UNSIGNED NOT NULL,
`created_user_id` int(11) NOT NULL DEFAULT 0,
`modified_user_id` int(11) NOT NULL DEFAULT 0,
`deleted_user_id` int(11) NOT NULL DEFAULT 0,
`name` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`status` int(11) NOT NULL DEFAULT 1 COMMENT '0= Inactive, 1= 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;
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE `users` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`email_verified_at` timestamp NULL DEFAULT NULL,
`password` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `users`
--
INSERT INTO `users` (`id`, `name`, `email`, `email_verified_at`, `password`, `remember_token`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 'Super Admin', 'superadmin@gmail.com', NULL, '$2y$10$joZNZLZSCflO5WZ4u5Dsv.g/YhQoOG0XAd74cX8thTEhKsp4rUk6W', NULL, '2021-03-17 09:54:33', '2021-03-17 09:54:33', NULL),
(2, 'Test', 'ashifacomplete@gmail.com', NULL, '$2y$10$U5Pv/C.zS7MzKb3GNA8Z.ugYZoCSutwb1zj3P5EkOjZDi2S2i7x/u', NULL, '2021-03-17 11:07:34', '2021-03-17 11:07:34', NULL);
-- --------------------------------------------------------
--
-- Table structure for table `why_tradevalies`
--
CREATE TABLE `why_tradevalies` (
`id` bigint(20) UNSIGNED NOT NULL,
`created_user_id` int(11) NOT NULL DEFAULT 0,
`modified_user_id` int(11) NOT NULL DEFAULT 0,
`deleted_user_id` int(11) NOT NULL DEFAULT 0,
`video` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`description` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`thumble1_title` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`thumble1_description` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`thumble1_image` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`thumble2_title` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`thumble2_description` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`thumble2_image` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`thumble3_title` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`thumble3_description` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`thumble3_image` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`thumble4_title` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`thumble4_description` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`thumble4_image` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`status` int(11) NOT NULL DEFAULT 1 COMMENT '0= Inactive, 1= 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 `why_tradevalies`
--
INSERT INTO `why_tradevalies` (`id`, `created_user_id`, `modified_user_id`, `deleted_user_id`, `video`, `description`, `thumble1_title`, `thumble1_description`, `thumble1_image`, `thumble2_title`, `thumble2_description`, `thumble2_image`, `thumble3_title`, `thumble3_description`, `thumble3_image`, `thumble4_title`, `thumble4_description`, `thumble4_image`, `status`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 1, 1, 1, 'X3_Z3ZtqS9Q', '<div>Make your business visible online. Whether you\'re just starting out or \r\nhave been in business for years, put your company on the map at the \r\nright place. Tradevaley online directory helps you reach a targeted \r\naudience so your marketing efforts produce more efficient results at the\r\n least cost possible.</div>', 'Improving Brand Awareness', 'Focus on creating positive experiences for your target market! Get easily spotted by your prospects and promote a solid start of building relationships with future clients.', '20210317033018brand.png', 'Improving Your Business Reputation', 'Our online directory is a wonderful platform for your business where you can set a reputation as a legitimate company. Our goal is to help you foster trust with your customers and establish y', '20210317033018improve.png', 'Boost Search Engine Ranking', 'Listing your company in an online directory will boost your search engine ranking, thereby helping your intended audience find you. It’s time to reach customers that you actually want to reac', '20210317033018seo.png', 'Increase Traffic to Your Website', 'Putting your profile on the Tradevaley Online Directory acts as a bridge that points visitors to your website. This is one way we can help you connect with more clients and attract more leads', '20210317033018trafic.png', 1, '2021-03-12 00:13:32', '2021-03-17 03:30:18', NULL);
-- --------------------------------------------------------
--
-- Table structure for table `years`
--
CREATE TABLE `years` (
`id` bigint(20) UNSIGNED NOT NULL,
`created_user_id` int(11) NOT NULL DEFAULT 0,
`modified_user_id` int(11) NOT NULL DEFAULT 0,
`deleted_user_id` int(11) NOT NULL DEFAULT 0,
`name` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`status` int(11) NOT NULL DEFAULT 1 COMMENT '0= Inactive, 1= 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 `years`
--
INSERT INTO `years` (`id`, `created_user_id`, `modified_user_id`, `deleted_user_id`, `name`, `status`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 0, 0, 0, '2000', 1, NULL, NULL, NULL),
(2, 0, 0, 0, '2001', 1, NULL, NULL, NULL),
(3, 0, 0, 0, '2002', 1, NULL, NULL, NULL),
(4, 0, 0, 0, '2003', 1, NULL, NULL, NULL);
--
-- Indexes for dumped tables
--
--
-- Indexes for table `brands`
--
ALTER TABLE `brands`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `cities`
--
ALTER TABLE `cities`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `colors`
--
ALTER TABLE `colors`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `companies`
--
ALTER TABLE `companies`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `company_categories`
--
ALTER TABLE `company_categories`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `company_with_category_and_product_category_mappings`
--
ALTER TABLE `company_with_category_and_product_category_mappings`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `company_with_category_mappings`
--
ALTER TABLE `company_with_category_mappings`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `countries`
--
ALTER TABLE `countries`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `durations`
--
ALTER TABLE `durations`
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 `migrations`
--
ALTER TABLE `migrations`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `model_has_permissions`
--
ALTER TABLE `model_has_permissions`
ADD PRIMARY KEY (`permission_id`,`model_id`,`model_type`),
ADD KEY `model_has_permissions_model_id_model_type_index` (`model_id`,`model_type`);
--
-- Indexes for table `model_has_roles`
--
ALTER TABLE `model_has_roles`
ADD PRIMARY KEY (`role_id`,`model_id`,`model_type`),
ADD KEY `model_has_roles_model_id_model_type_index` (`model_id`,`model_type`);
--
-- Indexes for table `packages`
--
ALTER TABLE `packages`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `password_resets`
--
ALTER TABLE `password_resets`
ADD KEY `password_resets_email_index` (`email`);
--
-- Indexes for table `permissions`
--
ALTER TABLE `permissions`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `products`
--
ALTER TABLE `products`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `product_categories`
--
ALTER TABLE `product_categories`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `product_category_details`
--
ALTER TABLE `product_category_details`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `product_inventories`
--
ALTER TABLE `product_inventories`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `product_prices`
--
ALTER TABLE `product_prices`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `recommends`
--
ALTER TABLE `recommends`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `roles`
--
ALTER TABLE `roles`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `role_has_permissions`
--
ALTER TABLE `role_has_permissions`
ADD PRIMARY KEY (`permission_id`,`role_id`),
ADD KEY `role_has_permissions_role_id_foreign` (`role_id`);
--
-- Indexes for table `sizes`
--
ALTER TABLE `sizes`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `units`
--
ALTER TABLE `units`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `users_email_unique` (`email`);
--
-- Indexes for table `why_tradevalies`
--
ALTER TABLE `why_tradevalies`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `years`
--
ALTER TABLE `years`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `brands`
--
ALTER TABLE `brands`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `cities`
--
ALTER TABLE `cities`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `colors`
--
ALTER TABLE `colors`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `companies`
--
ALTER TABLE `companies`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;
--
-- AUTO_INCREMENT for table `company_categories`
--
ALTER TABLE `company_categories`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `company_with_category_and_product_category_mappings`
--
ALTER TABLE `company_with_category_and_product_category_mappings`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=228;
--
-- AUTO_INCREMENT for table `company_with_category_mappings`
--
ALTER TABLE `company_with_category_mappings`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=60;
--
-- AUTO_INCREMENT for table `countries`
--
ALTER TABLE `countries`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `durations`
--
ALTER TABLE `durations`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `failed_jobs`
--
ALTER TABLE `failed_jobs`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `migrations`
--
ALTER TABLE `migrations`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=34;
--
-- AUTO_INCREMENT for table `packages`
--
ALTER TABLE `packages`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `permissions`
--
ALTER TABLE `permissions`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;
--
-- AUTO_INCREMENT for table `products`
--
ALTER TABLE `products`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `product_categories`
--
ALTER TABLE `product_categories`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=24;
--
-- AUTO_INCREMENT for table `product_category_details`
--
ALTER TABLE `product_category_details`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `product_inventories`
--
ALTER TABLE `product_inventories`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `product_prices`
--
ALTER TABLE `product_prices`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `recommends`
--
ALTER TABLE `recommends`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `roles`
--
ALTER TABLE `roles`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `sizes`
--
ALTER TABLE `sizes`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `units`
--
ALTER TABLE `units`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `why_tradevalies`
--
ALTER TABLE `why_tradevalies`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `years`
--
ALTER TABLE `years`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- Constraints for dumped tables
--
--
-- Constraints for table `model_has_permissions`
--
ALTER TABLE `model_has_permissions`
ADD CONSTRAINT `model_has_permissions_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `permissions` (`id`) ON DELETE CASCADE;
--
-- Constraints for table `model_has_roles`
--
ALTER TABLE `model_has_roles`
ADD CONSTRAINT `model_has_roles_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE;
--
-- Constraints for table `role_has_permissions`
--
ALTER TABLE `role_has_permissions`
ADD CONSTRAINT `role_has_permissions_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `permissions` (`id`) ON DELETE CASCADE,
ADD CONSTRAINT `role_has_permissions_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE;
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;