"No - Auto - Value - On - Zero" "+00:00": SET Start Transaction SET
"No - Auto - Value - On - Zero" "+00:00": SET Start Transaction SET
-- version 5.0.2
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Oct 26, 2021 at 08:20 AM
-- Server version: 10.4.14-MariaDB
-- PHP Version: 7.2.33
--
-- Database: `pharmacy`
--
-- --------------------------------------------------------
--
-- Table structure for table `admin_credentials`
--
--
-- Dumping data for table `admin_credentials`
--
-- --------------------------------------------------------
--
-- Table structure for table `customers`
--
--
-- Dumping data for table `customers`
--
-- --------------------------------------------------------
--
-- Table structure for table `invoices`
--
--
-- Dumping data for table `invoices`
--
-- --------------------------------------------------------
--
-- Table structure for table `medicines`
--
--
-- Dumping data for table `medicines`
--
-- --------------------------------------------------------
--
-- Table structure for table `medicines_stock`
--
--
-- Dumping data for table `medicines_stock`
--
-- --------------------------------------------------------
--
-- Table structure for table `purchases`
--
-- --------------------------------------------------------
--
-- Table structure for table `suppliers`
--
--
-- Dumping data for table `suppliers`
--
--
-- Indexes for dumped tables
--
--
-- Indexes for table `admin_credentials`
--
ALTER TABLE `admin_credentials`
ADD PRIMARY KEY (`USERNAME`);
--
-- Indexes for table `customers`
--
ALTER TABLE `customers`
ADD PRIMARY KEY (`ID`);
--
-- Indexes for table `invoices`
--
ALTER TABLE `invoices`
ADD PRIMARY KEY (`INVOICE_ID`);
--
-- Indexes for table `medicines`
--
ALTER TABLE `medicines`
ADD PRIMARY KEY (`ID`);
--
-- Indexes for table `medicines_stock`
--
ALTER TABLE `medicines_stock`
ADD PRIMARY KEY (`ID`),
ADD UNIQUE KEY `BATCH_ID` (`BATCH_ID`);
--
-- Indexes for table `purchases`
--
ALTER TABLE `purchases`
ADD PRIMARY KEY (`VOUCHER_NUMBER`);
--
-- Indexes for table `suppliers`
--
ALTER TABLE `suppliers`
ADD PRIMARY KEY (`ID`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `customers`
--
ALTER TABLE `customers`
MODIFY `ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15;
--
-- AUTO_INCREMENT for table `invoices`
--
ALTER TABLE `invoices`
MODIFY `INVOICE_ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `medicines`
--
ALTER TABLE `medicines`
MODIFY `ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT for table `medicines_stock`
--
ALTER TABLE `medicines_stock`
MODIFY `ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `purchases`
--
ALTER TABLE `purchases`
MODIFY `VOUCHER_NUMBER` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `suppliers`
--
ALTER TABLE `suppliers`
MODIFY `ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=30;
COMMIT;
('admin', 'admin123');
(11, 'Shivam Tiwari', '6862369896', 'Dadar West', 'Dr Kapoor', 'Dadar East'),
(13, 'Sweety', '7622369694', 'Rani Station', 'Dr Ramesh', 'Rani Station'),