Eshop-Laravel/DB_backUp/eshopers_proj.sql
2019-10-18 12:25:37 +03:00

359 lines
18 KiB
SQL

-- phpMyAdmin SQL Dump
-- version 4.6.6deb5
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Jan 04, 2018 at 02:00 PM
-- Server version: 5.7.20-0ubuntu0.17.10.1
-- PHP Version: 7.1.11-0ubuntu0.17.10.1
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
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: `eshopers_proj`
--
-- --------------------------------------------------------
--
-- Table structure for table `categories`
--
CREATE TABLE `categories` (
`id` int(11) NOT NULL,
`title` varchar(255) NOT NULL,
`article` text NOT NULL,
`url` varchar(255) NOT NULL,
`image` varchar(255) NOT NULL,
`updated_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `categories`
--
INSERT INTO `categories` (`id`, `title`, `article`, `url`, `image`, `updated_at`, `created_at`) VALUES
(1, 'men', 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud.', 'men-categorie', 'man_categorie.jpg', '2017-12-04 13:36:58', '2017-12-04 13:36:58'),
(2, 'women', 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et fdsdf sdkfio evcxnbm dhjkf kskkf.', 'women-categorie', 'woman_categorie.jpg', '2017-12-04 13:36:58', '2017-12-04 13:36:58'),
(3, 'kids', 'kids kdis ids kdisids kdis ids kdis ids kdisids kdis ids kdisids kdis ids kdisfjsk fdsjkl fdhsj fkhdsk fhjk sdf.', 'kids-categorie', 'kids_categorie.jpg', '2017-12-04 13:39:06', '2017-12-04 13:39:06'),
(4, 'baby', 'babyfdjskflj asjdfk ldsa ur iowet kjsd kl;dsjga kl;j ', 'baby-categorie', 'baby_categorie.jpg', '2017-12-05 18:16:21', '2017-12-05 18:16:21');
-- --------------------------------------------------------
--
-- Table structure for table `contents`
--
CREATE TABLE `contents` (
`id` int(11) NOT NULL,
`menu_id` int(11) NOT NULL,
`title` varchar(255) NOT NULL,
`article` text NOT NULL,
`updated_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `contents`
--
INSERT INTO `contents` (`id`, `menu_id`, `title`, `article`, `updated_at`, `created_at`) VALUES
(2, 3, 'Blog title', '<h1>Title!</h1>', '2017-12-25 12:37:39', '2017-12-25 12:37:39'),
(4, 2, 'our Shop in israel', 'lorem lorem lorem lorem lorem lorem lorem lorem lorem lorem lorem lorem lorem lorem lorem lorem lorem lorem lorem lorem lorem lorem lorem lorem lorem lorem lorem lorem lorem lorem lorem lorem lorem lorem lorem lorem lorem lorem lorem lorem lorem ', '2017-12-25 12:39:13', '2017-12-25 12:39:13');
-- --------------------------------------------------------
--
-- Table structure for table `menus`
--
CREATE TABLE `menus` (
`id` int(11) NOT NULL,
`link` varchar(255) NOT NULL,
`mtitle` varchar(255) NOT NULL,
`url` varchar(255) NOT NULL,
`updated_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `menus`
--
INSERT INTO `menus` (`id`, `link`, `mtitle`, `url`, `updated_at`, `created_at`) VALUES
(3, 'Blog', 'test', 'blog', '2017-12-22 11:47:19', '2017-12-22 11:47:19'),
(4, 'test', 'test-us', 'test-us', '2017-12-25 12:35:58', '2017-12-25 12:35:58');
-- --------------------------------------------------------
--
-- Table structure for table `messages`
--
CREATE TABLE `messages` (
`id` int(11) NOT NULL,
`name` varchar(255) NOT NULL,
`last_name` varchar(255) NOT NULL,
`email` varchar(255) NOT NULL,
`message` text NOT NULL,
`updated_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `messages`
--
INSERT INTO `messages` (`id`, `name`, `last_name`, `email`, `message`, `updated_at`, `created_at`) VALUES
(1, 'fdsaf', 'fdsafdsa', 'kfir_dayan27@walla.com', 'fdsafdsafd', '2017-12-26 20:30:47', '2017-12-26 20:30:47'),
(2, 'fdgdf', 'dfg', 'koralimenaya@gmail.com', 'gdfgf', '2017-12-27 22:39:01', '2017-12-27 22:39:01'),
(3, 'fdgdf', 'dfg', 'koralimenaya@gmail.com', 'gdfgf', '2017-12-27 22:40:13', '2017-12-27 22:40:13');
-- --------------------------------------------------------
--
-- Table structure for table `orders`
--
CREATE TABLE `orders` (
`orderid` int(11) NOT NULL,
`user_id` int(11) NOT NULL,
`data` text NOT NULL,
`total` decimal(8,2) NOT NULL,
`updated_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`status` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `orders`
--
INSERT INTO `orders` (`orderid`, `user_id`, `data`, `total`, `updated_at`, `created_at`, `status`) VALUES
(21, 4, 'a:3:{s:8:\"19.47.17\";a:6:{s:2:\"id\";s:8:\"19.47.17\";s:4:\"name\";s:10:\"red-sweder\";s:5:\"price\";i:60;s:8:\"quantity\";s:1:\"3\";s:10:\"attributes\";a:2:{s:4:\"size\";s:5:\"Large\";s:3:\"img\";s:8:\"R2C2.jpg\";}s:10:\"conditions\";a:0:{}}s:8:\"19.47.29\";a:6:{s:2:\"id\";s:8:\"19.47.29\";s:4:\"name\";s:8:\"red-baby\";s:5:\"price\";i:60;s:8:\"quantity\";s:1:\"2\";s:10:\"attributes\";a:2:{s:4:\"size\";s:7:\"X-Large\";s:3:\"img\";s:27:\"newborn-baby-clothing-3.jpg\";}s:10:\"conditions\";a:0:{}}s:8:\"19.47.32\";a:6:{s:2:\"id\";s:8:\"19.47.32\";s:4:\"name\";s:8:\"red-baby\";s:5:\"price\";i:60;s:8:\"quantity\";s:1:\"1\";s:10:\"attributes\";a:2:{s:4:\"size\";s:5:\"small\";s:3:\"img\";s:27:\"newborn-baby-clothing-3.jpg\";}s:10:\"conditions\";a:0:{}}}', '360.00', '2017-12-30 19:47:38', '2017-12-30 19:47:38', 0),
(22, 4, 'a:2:{s:8:\"08.25.27\";a:6:{s:2:\"id\";s:8:\"08.25.27\";s:4:\"name\";s:10:\"nice-dress\";s:5:\"price\";i:30;s:8:\"quantity\";s:1:\"1\";s:10:\"attributes\";a:2:{s:4:\"size\";s:5:\"small\";s:3:\"img\";s:14:\"dress-sexy.jpg\";}s:10:\"conditions\";a:0:{}}s:8:\"08.25.28\";a:6:{s:2:\"id\";s:8:\"08.25.28\";s:4:\"name\";s:10:\"Nice Shirt\";s:5:\"price\";i:20;s:8:\"quantity\";s:1:\"1\";s:10:\"attributes\";a:2:{s:4:\"size\";s:5:\"small\";s:3:\"img\";s:15:\"248686-35-2.jpg\";}s:10:\"conditions\";a:0:{}}}', '50.00', '2017-12-31 08:25:33', '2017-12-31 08:25:33', 1),
(23, 4, 'a:1:{s:8:\"12.35.55\";a:6:{s:2:\"id\";s:8:\"12.35.55\";s:4:\"name\";s:12:\"pepurl shirt\";s:5:\"price\";i:120;s:8:\"quantity\";s:1:\"1\";s:10:\"attributes\";a:2:{s:4:\"size\";s:5:\"small\";s:3:\"img\";s:16:\"purple_shirt.jpg\";}s:10:\"conditions\";a:0:{}}}', '120.00', '2017-12-31 12:38:28', '2017-12-31 12:38:28', 2),
(24, 4, 'a:3:{s:8:\"10.56.16\";a:6:{s:2:\"id\";s:8:\"10.56.16\";s:4:\"name\";s:9:\"blue-baby\";s:5:\"price\";i:40;s:8:\"quantity\";s:1:\"2\";s:10:\"attributes\";a:2:{s:4:\"size\";s:5:\"Large\";s:3:\"img\";s:36:\"d1f2958b34af8f7f5dfe86bece68de14.jpg\";}s:10:\"conditions\";a:0:{}}s:8:\"10.58.58\";a:6:{s:2:\"id\";s:8:\"10.58.58\";s:4:\"name\";s:10:\"nice-dress\";s:5:\"price\";i:30;s:8:\"quantity\";s:1:\"2\";s:10:\"attributes\";a:2:{s:4:\"size\";s:5:\"Large\";s:3:\"img\";s:14:\"dress-sexy.jpg\";}s:10:\"conditions\";a:0:{}}s:8:\"10.59.02\";a:6:{s:2:\"id\";s:8:\"10.59.02\";s:4:\"name\";s:10:\"nice-dress\";s:5:\"price\";i:30;s:8:\"quantity\";s:1:\"1\";s:10:\"attributes\";a:2:{s:4:\"size\";s:5:\"small\";s:3:\"img\";s:14:\"dress-sexy.jpg\";}s:10:\"conditions\";a:0:{}}}', '170.00', '2018-01-02 11:03:54', '2018-01-02 11:03:54', 0),
(25, 9, 'a:2:{s:8:\"16.17.20\";a:6:{s:2:\"id\";s:8:\"16.17.20\";s:4:\"name\";s:10:\"nice-dress\";s:5:\"price\";i:30;s:8:\"quantity\";s:1:\"1\";s:10:\"attributes\";a:2:{s:4:\"size\";s:5:\"small\";s:3:\"img\";s:14:\"dress-sexy.jpg\";}s:10:\"conditions\";a:0:{}}s:8:\"16.17.25\";a:6:{s:2:\"id\";s:8:\"16.17.25\";s:4:\"name\";s:10:\"Nice Shirt\";s:5:\"price\";i:10;s:8:\"quantity\";s:1:\"3\";s:10:\"attributes\";a:2:{s:4:\"size\";s:5:\"Large\";s:3:\"img\";s:15:\"248686-35-2.jpg\";}s:10:\"conditions\";a:0:{}}}', '60.00', '2018-01-02 16:17:32', '2018-01-02 16:17:32', 0),
(26, 4, 'a:2:{s:8:\"16.53.54\";a:6:{s:2:\"id\";s:8:\"16.53.54\";s:4:\"name\";s:10:\"red-sweder\";s:5:\"price\";i:20;s:8:\"quantity\";s:1:\"1\";s:10:\"attributes\";a:2:{s:4:\"size\";s:5:\"small\";s:3:\"img\";s:8:\"R2C2.jpg\";}s:10:\"conditions\";a:0:{}}s:8:\"16.53.55\";a:6:{s:2:\"id\";s:8:\"16.53.55\";s:4:\"name\";s:11:\"red-overAll\";s:5:\"price\";i:25;s:8:\"quantity\";s:1:\"1\";s:10:\"attributes\";a:2:{s:4:\"size\";s:5:\"small\";s:3:\"img\";s:27:\"kids-dtm-f-20171101-c1.jpeg\";}s:10:\"conditions\";a:0:{}}}', '45.00', '2018-01-02 16:54:00', '2018-01-02 16:54:00', 0),
(27, 8, 'a:3:{s:8:\"23.34.13\";a:6:{s:2:\"id\";s:8:\"23.34.13\";s:4:\"name\";s:10:\"Nice Shirt\";s:5:\"price\";i:10;s:8:\"quantity\";s:1:\"3\";s:10:\"attributes\";a:2:{s:4:\"size\";s:5:\"Large\";s:3:\"img\";s:15:\"248686-35-2.jpg\";}s:10:\"conditions\";a:0:{}}s:8:\"23.35.13\";a:6:{s:2:\"id\";s:8:\"23.35.13\";s:4:\"name\";s:10:\"red-sweder\";s:5:\"price\";i:20;s:8:\"quantity\";s:1:\"7\";s:10:\"attributes\";a:2:{s:4:\"size\";s:5:\"small\";s:3:\"img\";s:8:\"R2C2.jpg\";}s:10:\"conditions\";a:0:{}}s:8:\"23.35.20\";a:6:{s:2:\"id\";s:8:\"23.35.20\";s:4:\"name\";s:11:\"red-overAll\";s:5:\"price\";i:25;s:8:\"quantity\";s:1:\"5\";s:10:\"attributes\";a:2:{s:4:\"size\";s:5:\"Large\";s:3:\"img\";s:27:\"kids-dtm-f-20171101-c1.jpeg\";}s:10:\"conditions\";a:0:{}}}', '295.00', '2018-01-02 23:35:27', '2018-01-02 23:35:27', 0),
(28, 4, 'a:5:{s:8:\"12.46.00\";a:6:{s:2:\"id\";s:8:\"12.46.00\";s:4:\"name\";s:10:\"nice-dress\";s:5:\"price\";i:30;s:8:\"quantity\";s:1:\"3\";s:10:\"attributes\";a:2:{s:4:\"size\";s:5:\"Large\";s:3:\"img\";s:14:\"dress-sexy.jpg\";}s:10:\"conditions\";a:0:{}}s:8:\"12.46.02\";a:6:{s:2:\"id\";s:8:\"12.46.02\";s:4:\"name\";s:10:\"nice-dress\";s:5:\"price\";i:30;s:8:\"quantity\";s:1:\"1\";s:10:\"attributes\";a:2:{s:4:\"size\";s:5:\"small\";s:3:\"img\";s:14:\"dress-sexy.jpg\";}s:10:\"conditions\";a:0:{}}s:8:\"12.46.03\";a:6:{s:2:\"id\";s:8:\"12.46.03\";s:4:\"name\";s:10:\"nice-dress\";s:5:\"price\";i:30;s:8:\"quantity\";s:1:\"1\";s:10:\"attributes\";a:2:{s:4:\"size\";s:5:\"small\";s:3:\"img\";s:14:\"dress-sexy.jpg\";}s:10:\"conditions\";a:0:{}}s:8:\"12.46.04\";a:6:{s:2:\"id\";s:8:\"12.46.04\";s:4:\"name\";s:10:\"Nice Shirt\";s:5:\"price\";i:10;s:8:\"quantity\";s:1:\"1\";s:10:\"attributes\";a:2:{s:4:\"size\";s:5:\"small\";s:3:\"img\";s:15:\"248686-35-2.jpg\";}s:10:\"conditions\";a:0:{}}s:8:\"12.46.05\";a:6:{s:2:\"id\";s:8:\"12.46.05\";s:4:\"name\";s:10:\"Nice Shirt\";s:5:\"price\";i:10;s:8:\"quantity\";s:1:\"1\";s:10:\"attributes\";a:2:{s:4:\"size\";s:5:\"small\";s:3:\"img\";s:15:\"248686-35-2.jpg\";}s:10:\"conditions\";a:0:{}}}', '170.00', '2018-01-03 12:47:02', '2018-01-03 12:47:02', 0),
(29, 4, 'a:3:{s:8:\"16.59.44\";a:6:{s:2:\"id\";s:8:\"16.59.44\";s:4:\"name\";s:10:\"Nice Shirt\";s:5:\"price\";i:10;s:8:\"quantity\";s:1:\"3\";s:10:\"attributes\";a:2:{s:4:\"size\";s:7:\"X-Large\";s:3:\"img\";s:15:\"248686-35-2.jpg\";}s:10:\"conditions\";a:0:{}}s:8:\"17.00.13\";a:6:{s:2:\"id\";s:8:\"17.00.13\";s:4:\"name\";s:8:\"red-baby\";s:5:\"price\";i:60;s:8:\"quantity\";s:1:\"2\";s:10:\"attributes\";a:2:{s:4:\"size\";s:5:\"Large\";s:3:\"img\";s:27:\"newborn-baby-clothing-3.jpg\";}s:10:\"conditions\";a:0:{}}s:8:\"17.00.19\";a:6:{s:2:\"id\";s:8:\"17.00.19\";s:4:\"name\";s:9:\"blue-baby\";s:5:\"price\";i:40;s:8:\"quantity\";s:1:\"3\";s:10:\"attributes\";a:2:{s:4:\"size\";s:5:\"small\";s:3:\"img\";s:36:\"d1f2958b34af8f7f5dfe86bece68de14.jpg\";}s:10:\"conditions\";a:0:{}}}', '270.00', '2018-01-03 17:00:35', '2018-01-03 17:00:35', 0);
-- --------------------------------------------------------
--
-- Table structure for table `products`
--
CREATE TABLE `products` (
`id` int(11) NOT NULL,
`categorie_id` int(11) NOT NULL,
`title` varchar(255) NOT NULL,
`body` text NOT NULL,
`image` varchar(255) NOT NULL,
`price` int(8) NOT NULL,
`url` varchar(255) NOT NULL,
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
`stock` int(11) NOT NULL,
`sale` int(11) NOT NULL,
`original_price` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `products`
--
INSERT INTO `products` (`id`, `categorie_id`, `title`, `body`, `image`, `price`, `url`, `created_at`, `updated_at`, `stock`, `sale`, `original_price`) VALUES
(1, 1, 'green Tshirt', 'green Tshirt comfdsjklfh fh jkdfs', 'green_Tshirt.jpg', 100, 'green_Tshirt', '2017-12-05 00:00:00', '2017-12-05 00:00:00', 30, 1, '120'),
(2, 1, 'pepurl shirt', 'gfdg fdsg jh fgj treutre hfgdh', 'purple_shirt.jpg', 120, 'purple_shirt', '2017-12-05 00:00:00', '2017-12-05 00:00:00', 27, 0, ''),
(3, 2, 'Nice Shirt', 'fdsf af sdar fewt ewtr we', '248686-35-2.jpg', 10, 'Nice-Shirt', '2017-12-05 00:00:00', '2017-12-05 00:00:00', 15, 1, '20'),
(4, 2, 'nice-dress', 'gsfdg dfsg festd gerwy re gtdfsg rfder reter ytfds hgfds h', 'dress-sexy.jpg', 30, 'nice-dress', '2017-12-05 00:00:00', '2017-12-05 00:00:00', 40, 0, ''),
(5, 3, 'red-overAll', 'fgsdg fdstg fdsy rey fdsh fds h', 'kids-dtm-f-20171101-c1.jpeg', 25, 'red-overAll', '2017-12-05 00:00:00', '2017-12-05 00:00:00', 64, 1, '30'),
(6, 3, 'red-sweder', 'gfd srf sry resy resw tyer ', 'R2C2.jpg', 20, 'red-sweder', '2017-12-05 00:00:00', '2017-12-05 00:00:00', 5, 1, '60'),
(7, 4, 'blue-baby', 'gfa stga sfdg asdfg das g', 'd1f2958b34af8f7f5dfe86bece68de14.jpg', 40, 'blue-baby', '2017-12-05 00:00:00', '2017-12-05 00:00:00', 6, 1, '60'),
(8, 4, 'red-baby', 'fgda gatgds yfdasg dsag ds ', 'newborn-baby-clothing-3.jpg', 60, 'red-baby', '2017-12-05 00:00:00', '2017-12-05 00:00:00', 8, 0, '');
-- --------------------------------------------------------
--
-- Table structure for table `sales_roles`
--
CREATE TABLE `sales_roles` (
`sale_role` int(11) NOT NULL,
`sale` float NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `sales_roles`
--
INSERT INTO `sales_roles` (`sale_role`, `sale`) VALUES
(0, 1),
(1, 0.1),
(2, 0.2),
(3, 0.3);
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE `users` (
`id` int(11) NOT NULL,
`name` varchar(255) NOT NULL,
`email` varchar(255) NOT NULL,
`password` varchar(255) NOT NULL,
`updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`city` varchar(255) NOT NULL,
`country` varchar(255) NOT NULL,
`profilepic` varchar(255) NOT NULL,
`last_name` varchar(255) NOT NULL,
`street` varchar(255) NOT NULL,
`ZIP` varchar(255) NOT NULL,
`phone` varchar(255) NOT NULL,
`streetNum` int(11) NOT NULL,
`State` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `users`
--
INSERT INTO `users` (`id`, `name`, `email`, `password`, `updated_at`, `created_at`, `city`, `country`, `profilepic`, `last_name`, `street`, `ZIP`, `phone`, `streetNum`, `State`) VALUES
(4, 'Admin', 'admin@gmail.com', '$2y$10$KfMDeDqHIKTSATRmIN1RuO6ad8OoMJ4xZoLJUVdpk56BofFpj0/he', '2017-12-25 09:46:33', '2017-12-18 13:20:45', 'Czech republic', 'USA', 'kfir.png', 'admin', 'Ostrava', '42842', '06665478', 54, 'NC'),
(5, 'Kfir', 'kfir@gmail.com', '$2y$10$NTLaFoIUKyJhWCjO8grxHO6nCAD4cV8SFhiL7SnOh3keGPYkkvK96', '2017-12-24 15:27:49', '2017-12-18 13:21:39', 'tel aviv', 'israel', 'no_profile_pic.jpg', 'dayan', 'zabotinski', '3668', '035564786', 200, 'israel'),
(7, 'ofir', 'ofir@gmail.com', '$2y$10$Eq196p2cH6hSkXw/me7pBetJPE/qgIgGe7n0TbkloeN5C30Te0spS', '2017-12-20 09:23:15', '2017-12-20 09:23:15', 'ashdod', 'zimbabue', 'no_profile_pic.jpg', 'dayan', 'lorem', '5346', '05865452', 53, 'boloo'),
(8, 'cocod', 'coco@gmail.com', '$2y$10$IbjiRXl.3.hS/MtO7pB4/uFZYdtqBJMmQm/YuP2QoJoWW3ZPSvB0y', '2017-12-22 12:49:36', '2017-12-22 12:49:36', ' ramat gan', 'israel', 'no_profile_pic.jpg', 'ravid', 'arnon', '8674', '052454545', 45, 'isreal'),
(9, 'sagi', 'sagi@gmail.com', '$2y$10$VRCvpWGturycM4xOO4PjTeA4.TCQDhB51UgrJ0QNlo2XHZGcfDAYS', '2017-12-24 14:38:05', '2017-12-24 13:10:51', 'tel aviv', 'israel', 'no_profile_pic.jpg', 'dayan', 'gonen', '39939', '055546478', 14, 'israel'),
(10, 'koral', 'koralimenaya@gmail.com', '$2y$10$m.I/dBbggesleTPKCtuMMuk7l0UVvl4IwAvvWd1Axn0dwuTqfsANK', '2017-12-27 20:44:37', '2017-12-27 20:37:15', 'v', '0', 'no_profile_pic.jpg', 'koralimenayagmail.com', 'mmmmmmmmmmmm', '0', '0523303', 0, 'mmmmmmmmmmmm');
-- --------------------------------------------------------
--
-- Table structure for table `user_roles`
--
CREATE TABLE `user_roles` (
`uid` int(11) NOT NULL,
`role` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `user_roles`
--
INSERT INTO `user_roles` (`uid`, `role`) VALUES
(4, 6),
(5, 7),
(6, 7),
(7, 7),
(8, 7),
(9, 7),
(10, 7);
--
-- Indexes for dumped tables
--
--
-- Indexes for table `categories`
--
ALTER TABLE `categories`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `url` (`url`);
--
-- Indexes for table `contents`
--
ALTER TABLE `contents`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `menus`
--
ALTER TABLE `menus`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `url` (`url`);
--
-- Indexes for table `messages`
--
ALTER TABLE `messages`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `orders`
--
ALTER TABLE `orders`
ADD PRIMARY KEY (`orderid`);
--
-- Indexes for table `products`
--
ALTER TABLE `products`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `url` (`url`);
--
-- Indexes for table `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `email` (`email`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `categories`
--
ALTER TABLE `categories`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `contents`
--
ALTER TABLE `contents`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `menus`
--
ALTER TABLE `menus`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `messages`
--
ALTER TABLE `messages`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `orders`
--
ALTER TABLE `orders`
MODIFY `orderid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=30;
--
-- AUTO_INCREMENT for table `products`
--
ALTER TABLE `products`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;
/*!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 */;