-- phpMyAdmin SQL Dump
-- version 4.9.11
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Oct 11, 2025 at 12:47 PM
-- Server version: 5.7.44
-- PHP Version: 7.4.33

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
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: `urjavati_dev_urjavati`
--

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

--
-- Table structure for table `tbl_admin`
--

CREATE TABLE `tbl_admin` (
  `id` int(11) NOT NULL,
  `u_name` varchar(244) NOT NULL,
  `u_email` varchar(244) NOT NULL,
  `u_password` varchar(300) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `tbl_admin`
--

INSERT INTO `tbl_admin` (`id`, `u_name`, `u_email`, `u_password`, `created_at`) VALUES
(1, 'urjavati', 'urjavati@gmail.com', 'urjavati@gmail.com', '2025-10-13 03:02:58');

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

--
-- Table structure for table `tbl_order`
--

CREATE TABLE `tbl_order` (
  `id` int(11) NOT NULL,
  `product_name` varchar(244) NOT NULL,
  `order_id` text,
  `user_id` int(11) DEFAULT NULL,
  `status` int(11) DEFAULT NULL COMMENT '1 => User Lead\r\n2 => User Product Lead\r\n3 => User checkout saved \r\n4 => Cash On Delivery\r\n5 => online Payment successful \r\n6 => online Payment failed',
  `payment_method` varchar(100) DEFAULT NULL,
  `product_discount_promo` varchar(50) DEFAULT NULL,
  `payment_discount` varchar(50) DEFAULT NULL,
  `product_price` varchar(50) DEFAULT NULL,
  `total_amount` varchar(50) DEFAULT NULL,
  `paymentgetway_return` text,
  `payment_link` text,
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `tbl_order`
--

INSERT INTO `tbl_order` (`id`, `product_name`, `order_id`, `user_id`, `status`, `payment_method`, `product_discount_promo`, `payment_discount`, `product_price`, `total_amount`, `paymentgetway_return`, `payment_link`, `created_at`) VALUES
(1, '1', NULL, 1, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2025-10-12 00:06:15');

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

--
-- Table structure for table `tbl_user`
--

CREATE TABLE `tbl_user` (
  `id` int(11) NOT NULL,
  `name` varchar(244) NOT NULL,
  `mobile` varchar(100) NOT NULL,
  `otp` varchar(10) DEFAULT NULL,
  `expiry_time` datetime DEFAULT NULL,
  `otp_status` int(11) NOT NULL DEFAULT '0',
  `email` varchar(240) DEFAULT NULL,
  `status` int(11) NOT NULL COMMENT '1->home pages modal 1 2->home pages modal 2 3->home pages modal 3 4->checkoutpages',
  `zip_code` varchar(10) DEFAULT NULL,
  `house_no` text,
  `landmark` text,
  `city` varchar(244) DEFAULT NULL,
  `state` varchar(244) DEFAULT NULL,
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `tbl_user`
--

INSERT INTO `tbl_user` (`id`, `name`, `mobile`, `otp`, `expiry_time`, `otp_status`, `email`, `status`, `zip_code`, `house_no`, `landmark`, `city`, `state`, `created_at`) VALUES
(1, 'jhhj', '8750908036', NULL, NULL, 0, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-10-12 00:10:58');

--
-- Indexes for dumped tables
--

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

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

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

--
-- AUTO_INCREMENT for dumped tables
--

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

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

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