MMCT TEAM
Server IP : 217.21.85.138  /  Your IP : 216.73.216.103
Web Server : LiteSpeed
System : Linux in-mum-web906.main-hosting.eu 4.18.0-553.37.1.lve.el8.x86_64 #1 SMP Mon Feb 10 22:45:17 UTC 2025 x86_64
User : u915722082 ( 915722082)
PHP Version : 7.4.33
Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF
Directory (0755) :  /home/u915722082/.nvm/../public_html/invoice/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/u915722082/.nvm/../public_html/invoice/invoice_DB.sql
-- phpMyAdmin SQL Dump
-- version 5.2.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Apr 16, 2025 at 07:51 AM
-- Server version: 10.4.32-MariaDB
-- PHP Version: 8.0.30

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: `invoice`
--

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

--
-- Table structure for table `admin`
--

CREATE TABLE `admin` (
  `id` int(11) NOT NULL,
  `name` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL,
  `password` varchar(255) NOT NULL,
  `mobile` varchar(255) NOT NULL,
  `username` varchar(255) NOT NULL,
  `reset_token` varchar(255) DEFAULT NULL,
  `reset_expires` datetime DEFAULT NULL,
  `reset_otp` varchar(6) DEFAULT NULL,
  `otp_timestamp` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `admin`
--

INSERT INTO `admin` (`id`, `name`, `email`, `password`, `mobile`, `username`, `reset_token`, `reset_expires`, `reset_otp`, `otp_timestamp`) VALUES
(1, 'admin', 'avstechchandru@gmail.com', '$2y$10$xtlAMedPYV0I5UCwGUCZI.dnr4lpHXx8ngBJTPXIWd5Z45tVZbdYy', 'admin', 'admin', NULL, NULL, '752527', 1740644777);

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

--
-- Table structure for table `attributes`
--

CREATE TABLE `attributes` (
  `ID` int(11) NOT NULL,
  `VARIATION` varchar(255) NOT NULL,
  `VARIATION_VAL` varchar(255) NOT NULL DEFAULT '',
  `VARIATION_VVALUE` varchar(255) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `attributes`
--

INSERT INTO `attributes` (`ID`, `VARIATION`, `VARIATION_VAL`, `VARIATION_VVALUE`) VALUES
(2, 'Quantity', '200gm,500gm,1kg,5kg,25kg,50kg,200ml,500ml,1lt,5lt,20lt', '200,500,1000,5000,2500,5000,200,500,1000,5000,2000');

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

--
-- Table structure for table `bulkpackage`
--

CREATE TABLE `bulkpackage` (
  `bpid` int(11) NOT NULL,
  `name` text NOT NULL,
  `bvalue` text NOT NULL,
  `bppaid` text NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `bulkpackage`
--

INSERT INTO `bulkpackage` (`bpid`, `name`, `bvalue`, `bppaid`) VALUES
(1, '10lt', '1000', '10,11'),
(2, '25kg', '2500', '3'),
(3, '50kg', '5000', '1,2,3,4,5,6');

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

--
-- Table structure for table `customers`
--

CREATE TABLE `customers` (
  `id` int(11) NOT NULL,
  `name` varchar(100) NOT NULL,
  `email` varchar(100) NOT NULL,
  `phone` varchar(15) NOT NULL,
  `gst_number` varchar(20) NOT NULL,
  `file_path` varchar(255) DEFAULT NULL,
  `has_shipping_address` tinyint(1) DEFAULT 0,
  `billing_address` varchar(255) DEFAULT NULL,
  `billing_city` varchar(100) DEFAULT NULL,
  `billing_pincode` varchar(20) DEFAULT NULL,
  `billing_state` varchar(100) DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `custype` varchar(45) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `customers`
--

INSERT INTO `customers` (`id`, `name`, `email`, `phone`, `gst_number`, `file_path`, `has_shipping_address`, `billing_address`, `billing_city`, `billing_pincode`, `billing_state`, `created_at`, `custype`) VALUES
(3, 'guna V', 'gunaavscse001@gmail.com', '9344197380', '35545646', 'customer_uploadFile/67fe07b0e7e75_360_F_229758328_7x8jwCwjtBMmC6rgFzLFhZoEpLobB6L8.jpg', 1, '1/23 , gandhi puram , Koolamedu , kadambur(p.o),Attur(t.k)', 'Salem', '636105', 'Tamil Nadu', '2025-04-07 07:09:37', 'Distributer'),
(5, 'GSTamilzhan', 'gunatamilzhan@gmail.com', '9344197380', '35545646', NULL, 1, '1/23', 'Salem', '636105', 'Tamil Nadu', '2025-04-12 11:25:56', 'Retailer');

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

--
-- Table structure for table `customer_addresses`
--

CREATE TABLE `customer_addresses` (
  `id` int(11) NOT NULL,
  `customer_id` int(11) NOT NULL,
  `address` varchar(255) NOT NULL,
  `city` varchar(100) NOT NULL,
  `pincode` varchar(10) NOT NULL,
  `state` varchar(50) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `is_billing` tinyint(1) DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `customer_addresses`
--

INSERT INTO `customer_addresses` (`id`, `customer_id`, `address`, `city`, `pincode`, `state`, `created_at`, `is_billing`) VALUES
(10, 5, '1/23 , gandhi puram , Koolamedu , kadambur(p.o),Attur(t.k)', 'Salem', '636105', 'Tamil Nadu', '2025-04-15 05:49:06', 1),
(13, 3, '1/23 , gandhi puram , Koolamedu , kadambur(p.o),Attur(t.k)', 'Salem', '636105', 'Tamil Nadu', '2025-04-15 07:03:42', 1);

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

--
-- Table structure for table `cus_product`
--

CREATE TABLE `cus_product` (
  `csid` int(11) NOT NULL,
  `cid` int(11) NOT NULL,
  `pid` int(11) NOT NULL DEFAULT 0,
  `cpnewprice` int(11) NOT NULL DEFAULT 0,
  `paid` varchar(45) NOT NULL DEFAULT '',
  `bpid` varchar(45) NOT NULL DEFAULT '',
  `pform` varchar(45) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `forms_value`
--

CREATE TABLE `forms_value` (
  `fid` int(11) NOT NULL,
  `name` varchar(250) NOT NULL,
  `measurement` varchar(250) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `forms_value`
--

INSERT INTO `forms_value` (`fid`, `name`, `measurement`) VALUES
(2, 'Dust', 'Kg'),
(3, 'Granule', 'Kg'),
(4, 'Liquid', 'Litre');

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

--
-- Table structure for table `groupofattr`
--

CREATE TABLE `groupofattr` (
  `gaid` int(11) NOT NULL,
  `gname` text NOT NULL,
  `aid` int(11) NOT NULL,
  `avalue` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `groupofattr`
--

INSERT INTO `groupofattr` (`gaid`, `gname`, `aid`, `avalue`) VALUES
(1, 'Kilogram', 2, '200gm,500gm,1kg,5kg,25kg,50kg'),
(5, 'Litre', 2, '200ml,500ml,1lt,5lt,20lt');

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

--
-- Table structure for table `invoices`
--

CREATE TABLE `invoices` (
  `inid` int(11) NOT NULL,
  `invoice_date` datetime NOT NULL,
  `due_date` datetime NOT NULL,
  `invoice_number` int(11) NOT NULL,
  `customer_id` int(11) NOT NULL,
  `gst_type` int(11) NOT NULL,
  `withgst` int(10) UNSIGNED NOT NULL DEFAULT 0,
  `customer_add` int(10) UNSIGNED NOT NULL DEFAULT 0,
  `vehical_number` varchar(45) NOT NULL DEFAULT '',
  `customer_vehicle` int(10) UNSIGNED NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `invoices`
--

INSERT INTO `invoices` (`inid`, `invoice_date`, `due_date`, `invoice_number`, `customer_id`, `gst_type`, `withgst`, `customer_add`, `vehical_number`, `customer_vehicle`) VALUES
(1, '2025-04-01 10:13:40', '2025-05-01 10:13:40', 2025001, 1, 1, 0, 0, 'TN 20 G 2020', 0);

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

--
-- Table structure for table `invoice_cus`
--

CREATE TABLE `invoice_cus` (
  `ciid` int(11) NOT NULL,
  `invnum` int(11) NOT NULL,
  `duedate` datetime NOT NULL,
  `billdate` datetime DEFAULT NULL,
  `cid` int(11) NOT NULL,
  `pid` int(11) NOT NULL DEFAULT 0,
  `bpid` int(11) NOT NULL,
  `fid` int(11) NOT NULL DEFAULT 0,
  `igst` int(11) NOT NULL,
  `gstvalue` int(11) NOT NULL,
  `paid` int(11) NOT NULL,
  `inewprice` int(11) NOT NULL,
  `discountprice` int(11) NOT NULL,
  `discuntpercen` int(11) NOT NULL,
  `total` int(11) NOT NULL,
  `iqty` int(11) NOT NULL DEFAULT 0,
  `tons` int(11) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `invoice_customerdetails`
--

CREATE TABLE `invoice_customerdetails` (
  `icd` int(11) NOT NULL,
  `invoice_cid` int(11) NOT NULL,
  `customer_name` text NOT NULL,
  `customer_email` text NOT NULL,
  `customer_phone` text NOT NULL DEFAULT '',
  `customer_billing_address` text NOT NULL DEFAULT '',
  `customer_billing_city` text NOT NULL,
  `customer_billing_state` text NOT NULL,
  `customer_billing_pincode` int(11) NOT NULL,
  `customer_gst` int(11) NOT NULL,
  `shipping_name` text NOT NULL DEFAULT '',
  `shipping_city` text NOT NULL,
  `shipping_address` text NOT NULL,
  `shipping_state` text NOT NULL,
  `shipping_pincode` text NOT NULL,
  `gstn` varchar(45) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `invoice_customerdetails`
--

INSERT INTO `invoice_customerdetails` (`icd`, `invoice_cid`, `customer_name`, `customer_email`, `customer_phone`, `customer_billing_address`, `customer_billing_city`, `customer_billing_state`, `customer_billing_pincode`, `customer_gst`, `shipping_name`, `shipping_city`, `shipping_address`, `shipping_state`, `shipping_pincode`, `gstn`) VALUES
(1, 1, 'Guna V', 'gunaavscse001@gmail.com', '9344197380', '1/23', 'Salem', 'Tamil Nadu', 636105, 35545646, 'Guna V', 'Salem', '1/23', 'Tamil Nadu', '636105', '');

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

--
-- Table structure for table `invoice_products`
--

CREATE TABLE `invoice_products` (
  `ic` int(11) NOT NULL,
  `invoice_id` int(11) NOT NULL,
  `pname` text NOT NULL,
  `hsncode` text NOT NULL,
  `package` text NOT NULL,
  `quan` int(11) NOT NULL,
  `price` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `invoice_products`
--

INSERT INTO `invoice_products` (`ic`, `invoice_id`, `pname`, `hsncode`, `package`, `quan`, `price`) VALUES
(1, 1, 'Test', '133', '50 KG', 10, 250);

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

--
-- Table structure for table `package`
--

CREATE TABLE `package` (
  `paid` int(11) NOT NULL,
  `name` varchar(250) NOT NULL,
  `value` varchar(250) NOT NULL,
  `no_of_pack` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `package`
--

INSERT INTO `package` (`paid`, `name`, `value`, `no_of_pack`) VALUES
(1, '200gm', '20', 'inner cover,outer cover'),
(2, '200gm(s)', '20', 'inner cover'),
(3, '500gm', '50', 'inner cover,outer cover'),
(4, '1kg', '100', 'inner cover,outer cover'),
(5, '5kg', '500', 'inner cover,outer cover'),
(6, '25kg', '2500', 'inner cover,outer cover'),
(7, '50kg', '5000', 'inner cover,outer cover'),
(8, '200ml', '20', 'lable'),
(9, '500ml', '50', 'lable'),
(10, '1lt', '100', 'lable'),
(11, '5lt', '500', 'lable'),
(12, '20lt', '2000', 'lable');

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

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

CREATE TABLE `product` (
  `pid` int(11) NOT NULL,
  `pname` text NOT NULL,
  `pdes` text NOT NULL,
  `pthumb` text NOT NULL,
  `ptype` text NOT NULL DEFAULT '0',
  `pform` text NOT NULL DEFAULT '0',
  `paid` text NOT NULL DEFAULT '0',
  `bpid` text NOT NULL DEFAULT '',
  `hsncode` text NOT NULL DEFAULT '',
  `productpackage` varchar(45) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

INSERT INTO `product` (`pid`, `pname`, `pdes`, `pthumb`, `ptype`, `pform`, `paid`, `bpid`, `hsncode`, `productpackage`) VALUES
(1, 'Cypermethrine', '', '', 'Packaging', '2', '', '', '', 'INNER_PLAIN_COVER'),
(2, 'Cypermethrine', '', '', 'Packaging', '2', '', '', '', 'OUTER_BRANDED_COVER'),
(3, 'Cypermethrine', '', '', 'Packaging', '4', '', '', '', 'BOTTLE_PLAIN'),
(4, 'Cypermethrine', '', '', 'Packaging', '4', '', '', '', 'LABEL_BRANDED'),
(5, 'Chlorpyriphos', '', '', 'Packaging', '2', '', '', '', 'INNER_PLAIN_COVER'),
(6, 'Chlorpyriphos', '', '', 'Packaging', '2', '', '', '', 'OUTER_BRANDED_COVER'),
(7, 'Chlorpyriphos', '', '', 'Packaging', '4', '', '', '', 'BOTTLE_PLAIN'),
(8, 'Chlorpyriphos', '', '', 'Packaging', '4', '', '', '', 'LABEL_BRANDED');

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

--
-- Table structure for table `product_gallery`
--

CREATE TABLE `product_gallery` (
  `pgid` int(11) NOT NULL,
  `pid` int(11) NOT NULL,
  `pimage` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `purchases`
--

CREATE TABLE `purchases` (
  `purchase_id` int(11) NOT NULL,
  `invoice_no` varchar(50) NOT NULL,
  `vendor_id` int(11) NOT NULL,
  `bill_date` date NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `purchases`
--

INSERT INTO `purchases` (`purchase_id`, `invoice_no`, `vendor_id`, `bill_date`, `created_at`) VALUES
(1, '2025001', 1, '2025-04-01', '2025-04-11 12:57:32');

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

--
-- Table structure for table `purchase_items`
--

CREATE TABLE `purchase_items` (
  `item_id` int(11) NOT NULL,
  `purchase_id` int(11) NOT NULL,
  `product_id` int(11) NOT NULL,
  `qty_type` int(11) NOT NULL,
  `quantity` text NOT NULL,
  `price` int(11) NOT NULL,
  `total` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `purchase_items`
--

INSERT INTO `purchase_items` (`item_id`, `purchase_id`, `product_id`, `qty_type`, `quantity`, `price`, `total`) VALUES
(1, 1, 1, 1, '12', 1, 12);

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

--
-- Table structure for table `reset_email`
--

CREATE TABLE `reset_email` (
  `id` int(11) NOT NULL,
  `title` varchar(255) NOT NULL,
  `des` text NOT NULL,
  `note` varchar(50) NOT NULL,
  `des1` text NOT NULL,
  `des2` text NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `vandor_products`
--

CREATE TABLE `vandor_products` (
  `vpid` int(11) NOT NULL,
  `veid` int(11) NOT NULL,
  `pid` int(11) NOT NULL,
  `vmaterial` text NOT NULL,
  `vquan` int(11) NOT NULL,
  `veprice` int(10) UNSIGNED NOT NULL DEFAULT 0,
  `vetotal` int(10) UNSIGNED NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `vandor_products`
--

INSERT INTO `vandor_products` (`vpid`, `veid`, `pid`, `vmaterial`, `vquan`, `veprice`, `vetotal`) VALUES
(7, 4, 6, 'RAW MATERIALS', 10, 5, 50),
(8, 3, 6, 'RAW MATERIALS', 10, 250, 2500),
(12, 2, 7, 'RAW MATERIALS', 21, 12, 252);

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

--
-- Table structure for table `variation`
--

CREATE TABLE `variation` (
  `pvid` int(11) NOT NULL,
  `pid` int(11) NOT NULL,
  `vname` text NOT NULL,
  `vvalue` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `variation`
--

INSERT INTO `variation` (`pvid`, `pid`, `vname`, `vvalue`) VALUES
(1, 1, 'Quantity', '200gm,500gm,1kg'),
(2, 2, 'Quantity', '200gm,500gm,1kg,5kg,25kg,50kg'),
(3, 3, 'Quantity', '200ml,500ml,1lt,5lt,20lt'),
(4, 4, 'Quantity', '200ml,500ml,1lt,5lt,20lt'),
(5, 5, 'Quantity', '200gm,500gm,1kg'),
(6, 6, 'Quantity', '200gm,500gm,1kg,5kg,25kg,50kg'),
(7, 7, 'Quantity', '200ml,500ml,1lt,5lt,20lt'),
(13, 8, 'Quantity', '200gm,5kg'),
(15, 17, 'Quantity', '200gm,500gm'),
(16, 18, 'Quantity', '200gm');

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

--
-- Table structure for table `variation_multi`
--

CREATE TABLE `variation_multi` (
  `vmid` int(11) NOT NULL,
  `pid` int(11) NOT NULL,
  `v1` text NOT NULL,
  `v2` text NOT NULL,
  `value1` text NOT NULL DEFAULT '',
  `value2` text NOT NULL,
  `oldprice` int(11) NOT NULL,
  `newprice` int(11) NOT NULL,
  `qty` int(11) NOT NULL,
  `value_ofpack` varchar(45) NOT NULL DEFAULT '',
  `unitsofmeasement` varchar(45) NOT NULL DEFAULT '',
  `weikg` varchar(45) NOT NULL DEFAULT '',
  `weigty` int(10) UNSIGNED NOT NULL DEFAULT 0,
  `kgtotal` int(10) UNSIGNED NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `vendor`
--

CREATE TABLE `vendor` (
  `veid` int(11) NOT NULL,
  `vename` text NOT NULL,
  `vephone` text NOT NULL,
  `biadress` text NOT NULL,
  `bicity` text NOT NULL,
  `bipincode` text NOT NULL,
  `bestate` text NOT NULL,
  `veemail` text NOT NULL DEFAULT '',
  `vegstnum` text NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `vendor`
--

INSERT INTO `vendor` (`veid`, `vename`, `vephone`, `biadress`, `bicity`, `bipincode`, `bestate`, `veemail`, `vegstnum`) VALUES
(2, 'Guna V', '9344197380', '1/23', 'Salem', '636105', 'Tamil Nadu', 'officialguna001@gmail.com', '123455'),
(3, 'Thamilzhan', '9344197380', '1/23 , gandhi puram , Koolamedu , kadambur(p.o),Attur(t.k)', 'Salem', '636105', 'Tamil Nadu', 'gunaavscse001@gmail.com', '123455'),
(4, 'guna Tamilzhan', '9344197380', '1/23 , gandhi puram , Koolamedu , kadambur(p.o),Attur(t.k)', 'Salem', '636105', 'Tamil Nadu', 'gunaavscse001@gmail.com', '123455');

--
-- Indexes for dumped tables
--

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

--
-- Indexes for table `attributes`
--
ALTER TABLE `attributes`
  ADD PRIMARY KEY (`ID`);

--
-- Indexes for table `bulkpackage`
--
ALTER TABLE `bulkpackage`
  ADD PRIMARY KEY (`bpid`);

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

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

--
-- Indexes for table `cus_product`
--
ALTER TABLE `cus_product`
  ADD PRIMARY KEY (`csid`);

--
-- Indexes for table `forms_value`
--
ALTER TABLE `forms_value`
  ADD PRIMARY KEY (`fid`);

--
-- Indexes for table `groupofattr`
--
ALTER TABLE `groupofattr`
  ADD PRIMARY KEY (`gaid`);

--
-- Indexes for table `invoices`
--
ALTER TABLE `invoices`
  ADD PRIMARY KEY (`inid`);

--
-- Indexes for table `invoice_cus`
--
ALTER TABLE `invoice_cus`
  ADD PRIMARY KEY (`ciid`);

--
-- Indexes for table `invoice_customerdetails`
--
ALTER TABLE `invoice_customerdetails`
  ADD PRIMARY KEY (`icd`);

--
-- Indexes for table `invoice_products`
--
ALTER TABLE `invoice_products`
  ADD PRIMARY KEY (`ic`);

--
-- Indexes for table `package`
--
ALTER TABLE `package`
  ADD PRIMARY KEY (`paid`);

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

--
-- Indexes for table `product_gallery`
--
ALTER TABLE `product_gallery`
  ADD PRIMARY KEY (`pgid`);

--
-- Indexes for table `purchases`
--
ALTER TABLE `purchases`
  ADD PRIMARY KEY (`purchase_id`);

--
-- Indexes for table `purchase_items`
--
ALTER TABLE `purchase_items`
  ADD PRIMARY KEY (`item_id`);

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

--
-- Indexes for table `vandor_products`
--
ALTER TABLE `vandor_products`
  ADD PRIMARY KEY (`vpid`);

--
-- Indexes for table `variation`
--
ALTER TABLE `variation`
  ADD PRIMARY KEY (`pvid`);

--
-- Indexes for table `variation_multi`
--
ALTER TABLE `variation_multi`
  ADD PRIMARY KEY (`vmid`);

--
-- Indexes for table `vendor`
--
ALTER TABLE `vendor`
  ADD PRIMARY KEY (`veid`);

--
-- AUTO_INCREMENT for dumped tables
--

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

--
-- AUTO_INCREMENT for table `attributes`
--
ALTER TABLE `attributes`
  MODIFY `ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT for table `bulkpackage`
--
ALTER TABLE `bulkpackage`
  MODIFY `bpid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

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

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

--
-- AUTO_INCREMENT for table `cus_product`
--
ALTER TABLE `cus_product`
  MODIFY `csid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `forms_value`
--
ALTER TABLE `forms_value`
  MODIFY `fid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `groupofattr`
--
ALTER TABLE `groupofattr`
  MODIFY `gaid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT for table `invoices`
--
ALTER TABLE `invoices`
  MODIFY `inid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `invoice_cus`
--
ALTER TABLE `invoice_cus`
  MODIFY `ciid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `invoice_customerdetails`
--
ALTER TABLE `invoice_customerdetails`
  MODIFY `icd` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `invoice_products`
--
ALTER TABLE `invoice_products`
  MODIFY `ic` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `package`
--
ALTER TABLE `package`
  MODIFY `paid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;

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

--
-- AUTO_INCREMENT for table `product_gallery`
--
ALTER TABLE `product_gallery`
  MODIFY `pgid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `purchases`
--
ALTER TABLE `purchases`
  MODIFY `purchase_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `purchase_items`
--
ALTER TABLE `purchase_items`
  MODIFY `item_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `reset_email`
--
ALTER TABLE `reset_email`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `vandor_products`
--
ALTER TABLE `vandor_products`
  MODIFY `vpid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;

--
-- AUTO_INCREMENT for table `variation`
--
ALTER TABLE `variation`
  MODIFY `pvid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17;

--
-- AUTO_INCREMENT for table `variation_multi`
--
ALTER TABLE `variation_multi`
  MODIFY `vmid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=65;

--
-- AUTO_INCREMENT for table `vendor`
--
ALTER TABLE `vendor`
  MODIFY `veid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
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 */;

MMCT - 2023