-- phpMyAdmin SQL Dump
-- version 5.2.2
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Nov 05, 2025 at 03:59 AM
-- Server version: 10.11.14-MariaDB
-- PHP Version: 8.4.10

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

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

--
-- Table structure for table `rc_pdf_history`
--

CREATE TABLE `rc_pdf_history` (
  `id` int(11) NOT NULL,
  `username` varchar(100) NOT NULL COMMENT 'User phone number',
  `rc_number` varchar(50) NOT NULL,
  `vehicle_number` varchar(50) DEFAULT NULL,
  `owner_name` varchar(255) DEFAULT NULL,
  `card_type` varchar(10) DEFAULT NULL COMMENT 'new or old',
  `pdf_url` text DEFAULT NULL,
  `order_id` varchar(50) DEFAULT NULL,
  `status` varchar(20) DEFAULT 'Pending',
  `date` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='RC PDF Download History using LOSTDATA API';

--
-- Dumping data for table `rc_pdf_history`
--

INSERT INTO `rc_pdf_history` (`id`, `username`, `rc_number`, `vehicle_number`, `owner_name`, `card_type`, `pdf_url`, `order_id`, `status`, `date`) VALUES
(1, '7631394549', 'BR10PB5368', 'BR10PB5368', 'VIRENDRA KUMAR SINGH', 'new', 'https://lostdata.in/uploads/rc_pdf/RC_BR10PB5368_1762294899_1529.pdf', 'RCPDF1762294903220', 'Success', '05/11/2025 3:50:53'),
(2, '7631394549', 'WB64D7224', 'WB64D7224', 'UTTAM SAHA', 'new', 'https://lostdata.in/uploads/rc_pdf/RC_WB64D7224_1762295277_1126.pdf', 'RCPDF1762295281390', 'Success', '05/11/2025 3:57:12');

--
-- Indexes for dumped tables
--

--
-- Indexes for table `rc_pdf_history`
--
ALTER TABLE `rc_pdf_history`
  ADD PRIMARY KEY (`id`),
  ADD KEY `username` (`username`),
  ADD KEY `rc_number` (`rc_number`),
  ADD KEY `vehicle_number` (`vehicle_number`);

--
-- AUTO_INCREMENT for dumped tables
--

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