text: -- phpMyAdmin SQL Dump
  -- version 4.5.1
  -- http://www.phpmyadmin.net
  --
  -- Host: 127.0.0.1
  -- Generation Time: Jul 01, 2017 at 09:24 AM
  -- Server version: 10.1.13-MariaDB
  -- PHP Version: 5.6.23
  
  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: `bakery`
  --
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `category_master`
  --
  
  CREATE TABLE `category_master` (
    `id` int(11) NOT NULL,
    `name` varchar(255) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  
  --
  -- Dumping data for table `category_master`
  --
  
  INSERT INTO `category_master` (`id`, `name`) VALUES
  (7, 'Cookies'),
  (8, 'Breads'),
  (9, 'Pies'),
  (10, 'Pastries'),
  (11, 'Cup Cake'),
  (12, 'Cake');
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `login`
  --
  
  CREATE TABLE `login` (
    `id` int(11) NOT NULL,
    `name` varchar(255) NOT NULL,
    `address` varchar(255) NOT NULL,
    `city` varchar(255) NOT NULL,
    `mob_no` varchar(11) NOT NULL,
    `user_name` varchar(255) NOT NULL,
    `password` varchar(255) NOT NULL,
    `create_at` date NOT NULL,
    `update_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP
  ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  
  --
  -- Dumping data for table `login`
  --
  
  INSERT INTO `login` (`id`, `name`, `address`, `city`, `mob_no`, `user_name`, `password`, `create_at`, `update_at`) VALUES
  (1, 'drashti', 'w34e5', 'fggg', '22222222', 'admin', '1234', '2017-06-02', '2017-06-02 11:19:34');
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `offer`
  --
  
  CREATE TABLE `offer` (
    `id` int(11) NOT NULL,
    `image` varchar(255) NOT NULL,
    `name` varchar(255) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  
  --
  -- Dumping data for table `offer`
  --
  
  INSERT INTO `offer` (`id`, `image`, `name`) VALUES
  (1, '7759_Blue hills.jpg', 'aalam'),
  (3, '8744_Sunset.jpg', 'cake');
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `product_master`
  --
  
  CREATE TABLE `product_master` (
    `id` int(11) NOT NULL,
    `category` varchar(255) NOT NULL,
    `title` varchar(255) NOT NULL,
    `description` varchar(255) NOT NULL,
    `price` int(11) NOT NULL,
    `photo` varchar(255) NOT NULL,
    `avalible` varchar(255) NOT NULL,
    `create_date` date NOT NULL,
    `update_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP
  ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  
  --
  -- Dumping data for table `product_master`
  --
  
  INSERT INTO `product_master` (`id`, `category`, `title`, `description`, `price`, `photo`, `avalible`, `create_date`, `update_date`) VALUES
  (5, 'Cookies', 'yu78', '5y tgu', 500, '8938_Hydrangeas.jpg', 'No', '2017-06-07', '2017-06-07 10:45:44'),
  (8, 'Pies', 'title123', 'abcdefg', 233, '3878_Penguins.jpg', 'No', '2017-06-07', '2017-06-07 11:47:22');
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `review_master`
  --
  
  CREATE TABLE `review_master` (
    `id` int(11) NOT NULL,
    `review` varchar(255) NOT NULL,
    `name` varchar(255) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  
  --
  -- Dumping data for table `review_master`
  --
  
  INSERT INTO `review_master` (`id`, `review`, `name`) VALUES
  (1, 'My wedding cake was truly beautiful and tasted fantastic everyone at my wedding commented on the cake I will definitely be using you again for any occasion.', 'Changela Brinda K'),
  (2, 'The Bentley cake you made for my sons 40th was fantastic my son could not believe it A big thank you to all the staff', 'Chaniyara Drashti B'),
  (3, 'The cake looked amazing and tasted lovely. It was a shame to cut it as it looked so good. My granddaughter loved it as did her friends and family. Delivered on time and exactly what I wanted.', 'Kandarp Changela P.'),
  (4, 'Amazing cake, requested text was done really perfect and everybody loved it!!', 'Dhyana Patel K'),
  (5, 'Ordered my daughter birthday cake every year it was her 7th birthday today cake was fantastic like always', 'Mira Makvana M.'),
  (6, 'Very happy with your work,it was a very beautiful and tasty cake', 'Gopi Patel B.');
  
  --
  -- Indexes for dumped tables
  --
  
  --
  -- Indexes for table `category_master`
  --
  ALTER TABLE `category_master`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `login`
  --
  ALTER TABLE `login`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `offer`
  --
  ALTER TABLE `offer`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `product_master`
  --
  ALTER TABLE `product_master`
    ADD PRIMARY KEY (`id`),
    ADD UNIQUE KEY `id` (`id`);
  
  --
  -- Indexes for table `review_master`
  --
  ALTER TABLE `review_master`
    ADD PRIMARY KEY (`id`);
  
  --
  -- AUTO_INCREMENT for dumped tables
  --
  
  --
  -- AUTO_INCREMENT for table `category_master`
  --
  ALTER TABLE `category_master`
    MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;
  --
  -- AUTO_INCREMENT for table `login`
  --
  ALTER TABLE `login`
    MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
  --
  -- AUTO_INCREMENT for table `offer`
  --
  ALTER TABLE `offer`
    MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
  --
  -- AUTO_INCREMENT for table `product_master`
  --
  ALTER TABLE `product_master`
    MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
  --
  -- AUTO_INCREMENT for table `review_master`
  --
  ALTER TABLE `review_master`
    MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
  /*!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 */;
  