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

START TRANSACTION;



--
-- Database: `ring`
--

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

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

CREATE TABLE `category` (
  `id` int(10) NOT NULL,
  `category_name` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

INSERT INTO `category` (`id`, `category_name`) VALUES
(1, 'Tet'),
(2, 'test2');

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

--
-- Table structure for table `home_img`
--

CREATE TABLE `home_img` (
  `id` int(10) NOT NULL,
  `first_img` varchar(100) NOT NULL,
  `sec_img` varchar(100) NOT NULL,
  `thr_img` varchar(100) NOT NULL,
  `fr_img` varchar(100) NOT NULL,
  `fi_img` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `home_img`
--

INSERT INTO `home_img` (`id`, `first_img`, `sec_img`, `thr_img`, `fr_img`, `fi_img`) VALUES
(1, 'chekku.jpg', 'veg.png', 'tree.jpg', 'image.png', '1.png');

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

--
-- Table structure for table `metal`
--

CREATE TABLE `metal` (
  `id` int(10) NOT NULL,
  `metal_name` varchar(50) NOT NULL,
  `price` varchar(50) NOT NULL,
  `image` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `metal`
--

INSERT INTO `metal` (`id`, `metal_name`, `price`, `image`) VALUES
(5, 'test', 'test', 'Mobile Template.jpg'),
(6, 'Test1', '100', '');

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

--
-- Table structure for table `order_details`
--

CREATE TABLE `order_details` (
  `id` int(10) NOT NULL,
  `order_id` int(10) NOT NULL,
  `product_name` varchar(200) NOT NULL,
  `qty` int(10) NOT NULL,
  `vendor_id` varchar(100) NOT NULL,
  `user_id` int(10) NOT NULL,
  `status` varchar(100) NOT NULL,
  `payment_mode` varchar(200) NOT NULL,
  `address1` varchar(200) NOT NULL,
  `address2` varchar(200) NOT NULL,
  `address3` varchar(200) NOT NULL,
  `address4` varchar(200) NOT NULL,
  `address5` varchar(200) NOT NULL,
  `product_id` int(10) NOT NULL,
  `total` int(50) NOT NULL,
  `order_date` varchar(200) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `order_details`
--

INSERT INTO `order_details` (`id`, `order_id`, `product_name`, `qty`, `vendor_id`, `user_id`, `status`, `payment_mode`, `address1`, `address2`, `address3`, `address4`, `address5`, `product_id`, `total`, `order_date`) VALUES
(1, 0, 'test1', 2, '1', 20, 'processing', 'online', 'test', 'test', 'test', 'test', 'test', 20, 500, 'today'),
(2, 0, 'test1', 2, '1', 20, 'processing', 'online', 'test', 'test', 'test', 'test', 'test', 20, 500, 'today'),
(3, 0, 'test2', 3, '1', 20, 'pending', 'online', 'test1', 'test1', 'test1', 'test1', 'test1', 28, 500, 'today'),
(4, 0, 'test2', 3, 'maha', 20, 'pending', 'online', 'test1', 'test1', 'test1', 'test1', 'test1', 28, 500, 'today');

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

--
-- Table structure for table `product`
--

CREATE TABLE `product` (
  `id` int(11) NOT NULL,
  `vendor_id` int(11) NOT NULL,
  `product_name` varchar(50) NOT NULL,
  `product_description` varchar(50) NOT NULL,
  `product_one` varchar(50) NOT NULL,
  `product_one_price` int(11) NOT NULL,
  `product_two` varchar(50) NOT NULL,
  `product_two_price` int(11) NOT NULL,
  `product_three` varchar(50) NOT NULL,
  `product_three_price` int(11) NOT NULL,
  `product_four` varchar(50) NOT NULL,
  `product_four_price` int(11) NOT NULL,
  `product_five` varchar(50) NOT NULL,
  `product_five_price` int(11) NOT NULL,
  `product_six` varchar(50) NOT NULL,
  `product_six_price` int(11) NOT NULL,
  `file_name` varchar(100) NOT NULL,
  `file_name2` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `product`
--

INSERT INTO `product` (`id`, `vendor_id`, `product_name`, `product_description`, `product_one`, `product_one_price`, `product_two`, `product_two_price`, `product_three`, `product_three_price`, `product_four`, `product_four_price`, `product_five`, `product_five_price`, `product_six`, `product_six_price`, `file_name`, `file_name2`) VALUES
(1, 1, 'test', 'test', 'test', 10, 'test', 10, ' test', 10, 'test', 10, 'test', 10, 'test', 10, '', ''),
(2, 1, 'test', 'test', 'test', 10, 'test', 10, ' test', 10, 'test', 10, 'test', 10, 'ytest', 10, '', ''),
(3, 1, 'test', 'test', 'test', 10, 'test', 10, ' test', 10, 'test', 10, 'test', 10, 'test', 10, '', ''),
(4, 1, 'test', 'test', 'test', 10, 'test', 10, ' test', 10, 'test', 10, 'test', 10, 'test', 10, '', ''),
(5, 1, 'test', 'test', 'test', 10, 'test', 10, ' test', 10, 'test', 10, 'test', 10, 'test', 10, '', ''),
(6, 1, 'test', 'test', 'test', 10, 'test', 10, ' test', 10, 'test', 10, 'test', 10, 'test', 10, '', ''),
(7, 1, 'test', 'test', 'test', 10, 'test', 10, ' test', 10, 'test', 10, 'test', 10, 'test', 10, '', ''),
(8, 1, 'test', 'test', 'test', 10, 'test', 10, ' test', 10, 'test', 10, 'test', 10, 'test', 10, '', ''),
(9, 1, 'test', 'test', 'test', 10, 'test', 10, ' test', 10, 'test', 10, 'test', 10, 'test', 10, '', ''),
(10, 1, 'test', 'test', 'test', 10, 'test', 10, ' test', 10, 'test', 10, 'test', 10, 'test', 10, '', ''),
(11, 1, 'test', 'test', 'test', 10, 'test', 10, ' test', 10, 'test', 10, 'test', 10, 'test', 10, '', ''),
(12, 1, 'test', 'test', 'test', 10, 'test', 10, ' test', 10, 'test', 10, 'test', 10, 'test', 10, '', ''),
(13, 1, '', '', '', 0, '', 0, ' ', 0, '', 0, '', 0, '', 0, '', ''),
(14, 1, '', '', '', 0, '', 0, ' ', 0, '', 0, '', 0, '', 0, '', ''),
(15, 1, '', '', '', 0, '', 0, ' ', 0, '', 0, '', 0, '', 0, '', ''),
(16, 1, '', '', '', 0, '', 0, ' ', 0, '', 0, '', 0, '', 0, '', ''),
(17, 1, '', '', '', 0, '', 0, ' ', 0, '', 0, '', 0, '', 0, '', ''),
(18, 1, '', '', '', 0, '', 0, ' ', 0, '', 0, '', 0, '', 0, '', ''),
(19, 1, '', '', '', 0, '', 0, ' ', 0, '', 0, '', 0, '', 0, '', ''),
(20, 1, '', '', '', 0, '', 0, ' ', 0, '', 0, '', 0, '', 0, '', ''),
(21, 1, '', '', '', 0, '', 0, ' ', 0, '', 0, '', 0, '', 0, '', ''),
(22, 1, '', '', '', 0, '', 0, ' ', 0, '', 0, '', 0, '', 0, '', ''),
(23, 0, '', '', '', 0, '', 0, '', 0, '', 0, '', 0, '', 0, '', ''),
(24, 0, '', '', '', 0, '', 0, '', 0, '', 0, '', 0, '', 0, '', ''),
(25, 1, '', '', '', 0, '', 0, ' ', 0, '', 0, '', 0, '', 0, '', ''),
(26, 0, 'test', '', '', 0, '', 0, ' ', 0, '', 0, '', 0, '', 0, '', ''),
(27, 1, 'Test', 'test', 'test', 10, 'test', 10, ' test', 10, 'test', 10, 'test', 10, 'test', 10, 'b4.jpg', ''),
(28, 1, 'Test', 'Test', 'Test', 10, 'test', 10, ' test', 10, 'test', 10, 'test', 10, 'test', 10, 'b3.jpg', 'b5.jpg');

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

--
-- Table structure for table `schools`
--

CREATE TABLE `schools` (
  `id` int(10) NOT NULL,
  `school_name` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `side_design`
--

CREATE TABLE `side_design` (
  `id` int(10) NOT NULL,
  `category` int(10) NOT NULL,
  `design_name` varchar(100) NOT NULL,
  `image` varchar(100) NOT NULL,
  `image2` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `side_design`
--

INSERT INTO `side_design` (`id`, `category`, `design_name`, `image`, `image2`) VALUES
(1, 0, 'Test', 'ad.jpeg', ''),
(2, 0, 'Test', 'ad.jpeg', 'ad.jpeg'),
(3, 0, 'Test1', 'ad.jpeg', 'ad.jpeg'),
(4, 2, 'Test', 'ad.jpeg', 'ad.jpeg');

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

--
-- Table structure for table `slider`
--

CREATE TABLE `slider` (
  `id` int(10) NOT NULL,
  `first_img` varchar(100) NOT NULL,
  `sec_img` varchar(100) NOT NULL,
  `thr_img` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `slider`
--

INSERT INTO `slider` (`id`, `first_img`, `sec_img`, `thr_img`) VALUES
(3, 'b4.jpg', 'b1.png', 'b5.jpg');

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

--
-- Table structure for table `top_stone`
--

CREATE TABLE `top_stone` (
  `id` int(10) NOT NULL,
  `stone_name` varchar(100) NOT NULL,
  `image` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `top_stone`
--

INSERT INTO `top_stone` (`id`, `stone_name`, `image`) VALUES
(1, 'Test', 'infinix-hot-8-x650c-original-imafhv7uhnxz79kj.jpeg'),
(2, 'Test', 'ad.jpeg'),
(3, 'Test', 'ad.jpeg');

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

--
-- Table structure for table `user_profile`
--

CREATE TABLE `user_profile` (
  `id` int(10) NOT NULL,
  `vendor_id` varchar(100) NOT NULL,
  `business_name` varchar(200) NOT NULL,
  `name` varchar(100) NOT NULL,
  `mobile` varchar(50) NOT NULL,
  `address1` varchar(50) NOT NULL,
  `address2` varchar(50) NOT NULL,
  `address3` varchar(50) NOT NULL,
  `address4` varchar(50) NOT NULL,
  `address5` varchar(50) NOT NULL,
  `gst` varchar(50) NOT NULL,
  `pan` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `user_profile`
--

INSERT INTO `user_profile` (`id`, `vendor_id`, `business_name`, `name`, `mobile`, `address1`, `address2`, `address3`, `address4`, `address5`, `gst`, `pan`) VALUES
(1, '1', 'test', 'test', 'test', 'test', 'test', 'test', 'test', ' test', 'test', 'test'),
(2, '1', 'test', 'test', 'test', 'test', 'test', 'test', 'test', ' test', 'test', 'test'),
(3, 'maha', 'test', 'test', 'test', 'test', 'test', 'test', 'test', ' test', 'test', 'test'),
(4, 'maha', '', 'test1', 'test', 'test', 'test', 'test', 'test', ' test', 'test', 'test');

--
-- Indexes for dumped tables
--

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

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

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

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

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

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

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

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

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

--
-- AUTO_INCREMENT for dumped tables
--

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

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

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

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

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

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

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

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

--
-- AUTO_INCREMENT for table `user_profile`
--
ALTER TABLE `user_profile`
  MODIFY `id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
COMMIT;

