text: -- phpMyAdmin SQL Dump
  -- version 5.1.1
  -- https://www.phpmyadmin.net/
  --
  -- Host: 127.0.0.1:3306
  -- Generation Time: Nov 06, 2021 at 10:43 AM
  -- Server version: 10.4.20-MariaDB
  -- PHP Version: 7.4.21
  
  SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
  START TRANSACTION;
  SET time_zone = "+00:00";
  
  --
  -- Database: `ecommerce_ci3`
  --
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `active_pages`
  --
  
  CREATE TABLE `active_pages` (
    `id` int(10) UNSIGNED NOT NULL,
    `name` varchar(50) NOT NULL,
    `enabled` tinyint(1) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  
  --
  -- Dumping data for table `active_pages`
  --
  
  INSERT INTO `active_pages` (`id`, `name`, `enabled`) VALUES
  (1, 'blog', 1),
  (2, 'tes', 1);
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `bank_accounts`
  --
  
  CREATE TABLE `bank_accounts` (
    `id` int(11) NOT NULL,
    `name` varchar(255) NOT NULL,
    `iban` varchar(255) NOT NULL,
    `bank` varchar(255) NOT NULL,
    `bic` varchar(255) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `blog_posts`
  --
  
  CREATE TABLE `blog_posts` (
    `id` int(10) UNSIGNED NOT NULL,
    `image` varchar(255) NOT NULL,
    `url` varchar(255) NOT NULL,
    `time` int(10) UNSIGNED NOT NULL
  ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `blog_translations`
  --
  
  CREATE TABLE `blog_translations` (
    `id` int(11) NOT NULL,
    `title` varchar(255) NOT NULL,
    `description` longtext NOT NULL,
    `abbr` varchar(5) NOT NULL,
    `for_id` int(10) UNSIGNED NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `brands`
  --
  
  CREATE TABLE `brands` (
    `id` int(10) UNSIGNED NOT NULL,
    `name` varchar(50) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `confirm_links`
  --
  
  CREATE TABLE `confirm_links` (
    `id` int(11) NOT NULL,
    `link` char(32) NOT NULL,
    `for_order` int(10) UNSIGNED NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `cookie_law`
  --
  
  CREATE TABLE `cookie_law` (
    `id` int(10) UNSIGNED NOT NULL,
    `link` varchar(255) NOT NULL,
    `theme` varchar(20) NOT NULL,
    `visibility` tinyint(1) NOT NULL DEFAULT 0
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  
  --
  -- Dumping data for table `cookie_law`
  --
  
  INSERT INTO `cookie_law` (`id`, `link`, `theme`, `visibility`) VALUES
  (1, '', 'light-bottom', 0);
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `cookie_law_translations`
  --
  
  CREATE TABLE `cookie_law_translations` (
    `id` int(10) UNSIGNED NOT NULL,
    `message` varchar(255) NOT NULL,
    `button_text` varchar(50) NOT NULL,
    `learn_more` varchar(50) NOT NULL,
    `abbr` varchar(5) NOT NULL,
    `for_id` int(11) UNSIGNED NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  
  --
  -- Dumping data for table `cookie_law_translations`
  --
  
  INSERT INTO `cookie_law_translations` (`id`, `message`, `button_text`, `learn_more`, `abbr`, `for_id`) VALUES
  (1, '', '', '', 'bg', 1),
  (2, '', '', '', 'en', 1),
  (3, '', '', '', 'gr', 1),
  (4, '', '', '', 'id', 1);
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `discount_codes`
  --
  
  CREATE TABLE `discount_codes` (
    `id` int(10) UNSIGNED NOT NULL,
    `type` varchar(10) NOT NULL,
    `code` varchar(10) NOT NULL,
    `amount` varchar(20) NOT NULL,
    `valid_from_date` int(10) UNSIGNED NOT NULL,
    `valid_to_date` int(10) UNSIGNED NOT NULL,
    `status` tinyint(1) NOT NULL DEFAULT 1 COMMENT '1-enabled, 0-disabled'
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `history`
  --
  
  CREATE TABLE `history` (
    `id` int(10) UNSIGNED NOT NULL,
    `activity` varchar(255) NOT NULL,
    `username` varchar(50) DEFAULT NULL,
    `time` int(10) UNSIGNED NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `keys`
  --
  
  CREATE TABLE `keys` (
    `id` int(11) NOT NULL,
    `key` varchar(40) NOT NULL,
    `level` int(2) NOT NULL,
    `ignore_limits` tinyint(1) NOT NULL DEFAULT 0,
    `date_created` int(11) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `languages`
  --
  
  CREATE TABLE `languages` (
    `id` int(10) UNSIGNED NOT NULL,
    `abbr` varchar(5) NOT NULL,
    `name` varchar(30) NOT NULL,
    `currency` varchar(10) NOT NULL,
    `currencyKey` varchar(5) NOT NULL,
    `flag` varchar(255) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  
  --
  -- Dumping data for table `languages`
  --
  
  INSERT INTO `languages` (`id`, `abbr`, `name`, `currency`, `currencyKey`, `flag`) VALUES
  (1, 'bg', 'bulgarian', 'лв', 'BGN', 'bg.jpg'),
  (2, 'en', 'english', '$', 'USD', 'en.jpg'),
  (3, 'gr', 'greece', 'EUR', 'EUR', 'gr.png'),
  (4, 'id', 'indonesian', 'RP', 'IDR', 'id.jpg');
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `orders`
  --
  
  CREATE TABLE `orders` (
    `id` int(10) UNSIGNED NOT NULL,
    `order_id` int(11) NOT NULL,
    `user_id` int(10) UNSIGNED DEFAULT NULL COMMENT 'point to public_users ID',
    `products` text NOT NULL,
    `date` int(10) UNSIGNED NOT NULL,
    `referrer` varchar(255) NOT NULL,
    `clean_referrer` varchar(255) NOT NULL,
    `payment_type` varchar(255) NOT NULL,
    `paypal_status` varchar(10) DEFAULT NULL,
    `processed` tinyint(1) NOT NULL DEFAULT 0,
    `viewed` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'viewed status is change when change processed status',
    `confirmed` tinyint(1) NOT NULL DEFAULT 0,
    `discount_code` varchar(20) DEFAULT NULL
  ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `orders_clients`
  --
  
  CREATE TABLE `orders_clients` (
    `id` int(11) NOT NULL,
    `first_name` varchar(100) NOT NULL,
    `last_name` varchar(100) NOT NULL,
    `email` varchar(100) NOT NULL,
    `phone` varchar(30) NOT NULL,
    `address` text NOT NULL,
    `city` varchar(20) NOT NULL,
    `post_code` varchar(10) NOT NULL,
    `notes` text NOT NULL,
    `for_id` int(11) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `products`
  --
  
  CREATE TABLE `products` (
    `id` int(10) UNSIGNED NOT NULL,
    `folder` int(10) UNSIGNED DEFAULT NULL COMMENT 'folder with images',
    `image` varchar(255) NOT NULL,
    `time` int(10) UNSIGNED NOT NULL COMMENT 'time created',
    `time_update` int(10) UNSIGNED NOT NULL COMMENT 'time updated',
    `visibility` tinyint(1) NOT NULL DEFAULT 1,
    `shop_categorie` int(11) NOT NULL,
    `quantity` int(11) NOT NULL DEFAULT 0,
    `procurement` int(10) UNSIGNED NOT NULL,
    `in_slider` tinyint(1) NOT NULL DEFAULT 0,
    `url` varchar(255) NOT NULL,
    `virtual_products` varchar(500) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
    `brand_id` int(5) DEFAULT NULL,
    `position` int(10) UNSIGNED NOT NULL,
    `vendor_id` int(11) NOT NULL DEFAULT 0
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `products_translations`
  --
  
  CREATE TABLE `products_translations` (
    `id` int(11) NOT NULL,
    `title` varchar(255) NOT NULL,
    `description` longtext NOT NULL,
    `basic_description` text NOT NULL,
    `price` varchar(20) NOT NULL,
    `old_price` varchar(20) NOT NULL,
    `abbr` varchar(5) NOT NULL,
    `for_id` int(11) UNSIGNED NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `seo_pages`
  --
  
  CREATE TABLE `seo_pages` (
    `id` int(10) UNSIGNED NOT NULL,
    `name` varchar(20) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  
  --
  -- Dumping data for table `seo_pages`
  --
  
  INSERT INTO `seo_pages` (`id`, `name`) VALUES
  (1, 'home'),
  (2, 'checkout'),
  (3, 'contacts'),
  (4, 'blog');
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `seo_pages_translations`
  --
  
  CREATE TABLE `seo_pages_translations` (
    `id` int(11) NOT NULL,
    `title` varchar(200) NOT NULL,
    `description` varchar(200) NOT NULL,
    `abbr` varchar(5) NOT NULL,
    `page_type` varchar(20) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  
  --
  -- Dumping data for table `seo_pages_translations`
  --
  
  INSERT INTO `seo_pages_translations` (`id`, `title`, `description`, `abbr`, `page_type`) VALUES
  (1, 'Toko Bahasa Indonesia', 'Toko Bahasa Indonesia', 'bg', 'home'),
  (2, 'Toko Bahasa Indonesia', 'Toko Bahasa Indonesia', 'en', 'home'),
  (3, 'Toko Bahasa Indonesia', 'Toko Bahasa Indonesia', 'gr', 'home'),
  (4, 'Toko Bahasa Indonesia', 'Toko Bahasa Indonesia', 'id', 'home'),
  (5, '', '', 'bg', 'checkout'),
  (6, '', '', 'en', 'checkout'),
  (7, '', '', 'gr', 'checkout'),
  (8, '', '', 'id', 'checkout'),
  (9, '', '', 'bg', 'contacts'),
  (10, '', '', 'en', 'contacts'),
  (11, '', '', 'gr', 'contacts'),
  (12, '', '', 'id', 'contacts'),
  (13, '', '', 'bg', 'blog'),
  (14, '', '', 'en', 'blog'),
  (15, '', '', 'gr', 'blog'),
  (16, '', '', 'id', 'blog');
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `shop_categories`
  --
  
  CREATE TABLE `shop_categories` (
    `id` int(10) UNSIGNED NOT NULL,
    `sub_for` int(11) NOT NULL,
    `position` int(10) UNSIGNED NOT NULL
  ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `shop_categories_translations`
  --
  
  CREATE TABLE `shop_categories_translations` (
    `id` int(11) NOT NULL,
    `name` varchar(50) NOT NULL,
    `abbr` varchar(5) NOT NULL,
    `for_id` int(11) UNSIGNED NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `subscribed`
  --
  
  CREATE TABLE `subscribed` (
    `id` int(10) UNSIGNED NOT NULL,
    `email` varchar(255) NOT NULL,
    `browser` varchar(255) NOT NULL,
    `ip` varchar(255) NOT NULL,
    `time` varchar(255) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  
  --
  -- Dumping data for table `subscribed`
  --
  
  INSERT INTO `subscribed` (`id`, `email`, `browser`, `ip`, `time`) VALUES
  (1, 'iseplutpinur7@gmail.com', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36', '::1', '1636191073');
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `textual_pages_tanslations`
  --
  
  CREATE TABLE `textual_pages_tanslations` (
    `id` int(11) NOT NULL,
    `name` varchar(255) NOT NULL,
    `description` longtext NOT NULL,
    `abbr` varchar(5) NOT NULL,
    `for_id` int(10) UNSIGNED NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  
  --
  -- Dumping data for table `textual_pages_tanslations`
  --
  
  INSERT INTO `textual_pages_tanslations` (`id`, `name`, `description`, `abbr`, `for_id`) VALUES
  (1, '', '', 'bg', 2),
  (2, '', '', 'en', 2),
  (3, '', '', 'gr', 2),
  (4, '', '', 'id', 2);
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `users`
  --
  
  CREATE TABLE `users` (
    `id` int(10) UNSIGNED NOT NULL,
    `username` varchar(50) NOT NULL,
    `password` varchar(32) NOT NULL,
    `email` varchar(100) NOT NULL,
    `notify` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'notifications by email',
    `last_login` int(10) UNSIGNED DEFAULT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  
  --
  -- Dumping data for table `users`
  --
  
  INSERT INTO `users` (`id`, `username`, `password`, `email`, `notify`, `last_login`) VALUES
  (1, 'admin', '21232f297a57a5a743894a0e4a801fc3', 'your@email.com', 0, 1636190279);
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `users_public`
  --
  
  CREATE TABLE `users_public` (
    `id` int(11) NOT NULL,
    `name` varchar(255) NOT NULL,
    `email` varchar(255) NOT NULL,
    `phone` varchar(100) NOT NULL,
    `password` varchar(40) NOT NULL,
    `created` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `value_store`
  --
  
  CREATE TABLE `value_store` (
    `id` int(10) UNSIGNED NOT NULL,
    `thekey` varchar(50) NOT NULL,
    `value` longtext NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  
  --
  -- Dumping data for table `value_store`
  --
  
  INSERT INTO `value_store` (`id`, `thekey`, `value`) VALUES
  (1, 'sitelogo', 'duahati.png'),
  (2, 'navitext', 'Dummy Ecommerce'),
  (3, 'footercopyright', 'Powered by ECC FZE © All right reserved. '),
  (4, 'contactspage', 'Hello dear client'),
  (5, 'footerContactAddr', 'bandung'),
  (6, 'footerContactEmail', 'support@shop.dev'),
  (7, 'footerContactPhone', '085798132505'),
  (8, 'googleMaps', '42.671840, 83.279163'),
  (9, 'footerAboutUs', ''),
  (10, 'footerSocialFacebook', ''),
  (11, 'footerSocialTwitter', ''),
  (12, 'footerSocialGooglePlus', ''),
  (13, 'footerSocialPinterest', ''),
  (14, 'footerSocialYoutube', ''),
  (16, 'contactsEmailTo', 'contacts@shop.dev'),
  (17, 'shippingOrder', '1'),
  (18, 'addJs', ''),
  (19, 'publicQuantity', '1'),
  (20, 'paypal_email', ''),
  (21, 'paypal_sandbox', '0'),
  (22, 'publicDateAdded', '0'),
  (23, 'googleApi', ''),
  (24, 'template', 'clothesshop'),
  (25, 'cashondelivery_visibility', '1'),
  (26, 'showBrands', '0'),
  (27, 'showInSlider', '0'),
  (28, 'codeDiscounts', '1'),
  (29, 'virtualProducts', '0'),
  (30, 'multiVendor', '0'),
  (31, 'outOfStock', '0'),
  (32, 'hideBuyButtonsOfOutOfStock', '0'),
  (33, 'moreInfoBtn', ''),
  (34, 'refreshAfterAddToCart', '0');
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `vendors`
  --
  
  CREATE TABLE `vendors` (
    `id` int(11) NOT NULL,
    `name` varchar(50) DEFAULT NULL,
    `url` varchar(50) NOT NULL,
    `email` varchar(50) NOT NULL,
    `password` varchar(100) NOT NULL,
    `updated_at` timestamp NOT NULL DEFAULT current_timestamp(),
    `created_at` timestamp NOT NULL DEFAULT current_timestamp()
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `vendors_orders`
  --
  
  CREATE TABLE `vendors_orders` (
    `id` int(10) UNSIGNED NOT NULL,
    `order_id` int(11) NOT NULL,
    `products` text NOT NULL,
    `date` int(10) UNSIGNED NOT NULL,
    `referrer` varchar(255) NOT NULL,
    `clean_referrer` varchar(255) NOT NULL,
    `payment_type` varchar(255) NOT NULL,
    `paypal_status` varchar(10) DEFAULT NULL,
    `processed` tinyint(1) NOT NULL DEFAULT 0,
    `viewed` tinyint(1) NOT NULL DEFAULT 0,
    `confirmed` tinyint(1) NOT NULL DEFAULT 0,
    `discount_code` varchar(20) NOT NULL,
    `vendor_id` int(10) UNSIGNED NOT NULL
  ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `vendors_orders_clients`
  --
  
  CREATE TABLE `vendors_orders_clients` (
    `id` int(11) NOT NULL,
    `first_name` varchar(100) NOT NULL,
    `last_name` varchar(100) NOT NULL,
    `email` varchar(100) NOT NULL,
    `phone` varchar(30) NOT NULL,
    `address` text NOT NULL,
    `city` varchar(20) NOT NULL,
    `post_code` varchar(10) NOT NULL,
    `notes` text NOT NULL,
    `for_id` int(11) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  
  --
  -- Indexes for dumped tables
  --
  
  --
  -- Indexes for table `active_pages`
  --
  ALTER TABLE `active_pages`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `bank_accounts`
  --
  ALTER TABLE `bank_accounts`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `blog_posts`
  --
  ALTER TABLE `blog_posts`
    ADD UNIQUE KEY `id` (`id`);
  
  --
  -- Indexes for table `blog_translations`
  --
  ALTER TABLE `blog_translations`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `brands`
  --
  ALTER TABLE `brands`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `confirm_links`
  --
  ALTER TABLE `confirm_links`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `cookie_law`
  --
  ALTER TABLE `cookie_law`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `cookie_law_translations`
  --
  ALTER TABLE `cookie_law_translations`
    ADD PRIMARY KEY (`id`),
    ADD UNIQUE KEY `UNIQUE` (`abbr`,`for_id`) USING BTREE;
  
  --
  -- Indexes for table `discount_codes`
  --
  ALTER TABLE `discount_codes`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `history`
  --
  ALTER TABLE `history`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `keys`
  --
  ALTER TABLE `keys`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `languages`
  --
  ALTER TABLE `languages`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `orders`
  --
  ALTER TABLE `orders`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `orders_clients`
  --
  ALTER TABLE `orders_clients`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `products`
  --
  ALTER TABLE `products`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `products_translations`
  --
  ALTER TABLE `products_translations`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `seo_pages`
  --
  ALTER TABLE `seo_pages`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `seo_pages_translations`
  --
  ALTER TABLE `seo_pages_translations`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `shop_categories`
  --
  ALTER TABLE `shop_categories`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `shop_categories_translations`
  --
  ALTER TABLE `shop_categories_translations`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `subscribed`
  --
  ALTER TABLE `subscribed`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `textual_pages_tanslations`
  --
  ALTER TABLE `textual_pages_tanslations`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `users`
  --
  ALTER TABLE `users`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `users_public`
  --
  ALTER TABLE `users_public`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `value_store`
  --
  ALTER TABLE `value_store`
    ADD PRIMARY KEY (`id`),
    ADD KEY `key` (`thekey`);
  
  --
  -- Indexes for table `vendors`
  --
  ALTER TABLE `vendors`
    ADD PRIMARY KEY (`id`),
    ADD UNIQUE KEY `unique` (`email`),
    ADD UNIQUE KEY `name` (`name`);
  
  --
  -- Indexes for table `vendors_orders`
  --
  ALTER TABLE `vendors_orders`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `vendors_orders_clients`
  --
  ALTER TABLE `vendors_orders_clients`
    ADD PRIMARY KEY (`id`);
  
  --
  -- AUTO_INCREMENT for dumped tables
  --
  
  --
  -- AUTO_INCREMENT for table `active_pages`
  --
  ALTER TABLE `active_pages`
    MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
  
  --
  -- AUTO_INCREMENT for table `bank_accounts`
  --
  ALTER TABLE `bank_accounts`
    MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
  
  --
  -- AUTO_INCREMENT for table `blog_posts`
  --
  ALTER TABLE `blog_posts`
    MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
  
  --
  -- AUTO_INCREMENT for table `blog_translations`
  --
  ALTER TABLE `blog_translations`
    MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
  
  --
  -- AUTO_INCREMENT for table `brands`
  --
  ALTER TABLE `brands`
    MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
  
  --
  -- AUTO_INCREMENT for table `confirm_links`
  --
  ALTER TABLE `confirm_links`
    MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
  
  --
  -- AUTO_INCREMENT for table `cookie_law`
  --
  ALTER TABLE `cookie_law`
    MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
  
  --
  -- AUTO_INCREMENT for table `cookie_law_translations`
  --
  ALTER TABLE `cookie_law_translations`
    MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
  
  --
  -- AUTO_INCREMENT for table `discount_codes`
  --
  ALTER TABLE `discount_codes`
    MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
  
  --
  -- AUTO_INCREMENT for table `history`
  --
  ALTER TABLE `history`
    MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
  
  --
  -- AUTO_INCREMENT for table `keys`
  --
  ALTER TABLE `keys`
    MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
  
  --
  -- AUTO_INCREMENT for table `languages`
  --
  ALTER TABLE `languages`
    MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
  
  --
  -- AUTO_INCREMENT for table `orders`
  --
  ALTER TABLE `orders`
    MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
  
  --
  -- AUTO_INCREMENT for table `orders_clients`
  --
  ALTER TABLE `orders_clients`
    MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
  
  --
  -- AUTO_INCREMENT for table `products`
  --
  ALTER TABLE `products`
    MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
  
  --
  -- AUTO_INCREMENT for table `products_translations`
  --
  ALTER TABLE `products_translations`
    MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
  
  --
  -- AUTO_INCREMENT for table `seo_pages`
  --
  ALTER TABLE `seo_pages`
    MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
  
  --
  -- AUTO_INCREMENT for table `seo_pages_translations`
  --
  ALTER TABLE `seo_pages_translations`
    MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17;
  
  --
  -- AUTO_INCREMENT for table `shop_categories`
  --
  ALTER TABLE `shop_categories`
    MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
  
  --
  -- AUTO_INCREMENT for table `shop_categories_translations`
  --
  ALTER TABLE `shop_categories_translations`
    MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
  
  --
  -- AUTO_INCREMENT for table `subscribed`
  --
  ALTER TABLE `subscribed`
    MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
  
  --
  -- AUTO_INCREMENT for table `textual_pages_tanslations`
  --
  ALTER TABLE `textual_pages_tanslations`
    MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
  
  --
  -- AUTO_INCREMENT for table `users`
  --
  ALTER TABLE `users`
    MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
  
  --
  -- AUTO_INCREMENT for table `users_public`
  --
  ALTER TABLE `users_public`
    MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
  
  --
  -- AUTO_INCREMENT for table `value_store`
  --
  ALTER TABLE `value_store`
    MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=35;
  
  --
  -- AUTO_INCREMENT for table `vendors`
  --
  ALTER TABLE `vendors`
    MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
  
  --
  -- AUTO_INCREMENT for table `vendors_orders`
  --
  ALTER TABLE `vendors_orders`
    MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
  
  --
  -- AUTO_INCREMENT for table `vendors_orders_clients`
  --
  ALTER TABLE `vendors_orders_clients`
    MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
  COMMIT;
  