Professional Documents
Culture Documents
-- version 4.9.0.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Jun 09, 2020 at 04:52 PM
-- Server version: 10.3.15-MariaDB
-- PHP Version: 7.2.19
--
-- Database: `crimedb`
--
-- --------------------------------------------------------
--
-- Table structure for table `tbladmin`
--
--
-- Dumping data for table `tbladmin`
--
-- --------------------------------------------------------
--
-- Table structure for table `tblcategory`
--
--
-- Dumping data for table `tblcategory`
--
-- --------------------------------------------------------
--
-- Table structure for table `tblcriminal`
--
--
-- Dumping data for table `tblcriminal`
--
-- --------------------------------------------------------
--
-- Table structure for table `tblfir`
--
CREATE TABLE `tblfir` (
`ID` int(10) NOT NULL,
`FIRNo` varchar(120) DEFAULT NULL,
`UserID` int(50) DEFAULT NULL,
`PoliceStationId` int(11) DEFAULT NULL,
`PoliceStation` varchar(200) DEFAULT NULL,
`CrimeType` varchar(200) DEFAULT NULL,
`NameAccused` varchar(200) DEFAULT NULL,
`NameApplicants` varchar(200) DEFAULT NULL,
`ParentageApplicant` varchar(200) DEFAULT NULL,
`ContactNumber` bigint(10) DEFAULT NULL,
`Address` mediumtext DEFAULT NULL,
`RelationAccused` varchar(200) DEFAULT NULL,
`PurposeofFIR` varchar(200) DEFAULT NULL,
`DateofFIR` timestamp NULL DEFAULT current_timestamp(),
`Remark` varchar(200) DEFAULT NULL,
`Status` varchar(50) DEFAULT NULL,
`RemarkDate` timestamp NULL DEFAULT NULL ON UPDATE
current_timestamp(),
`SectionofLaw` varchar(200) NOT NULL,
`InvestigationOfficer` varchar(200) NOT NULL,
`InvestigationDetail` mediumtext NOT NULL,
`ChargesheetDate` timestamp NULL DEFAULT NULL ON UPDATE
current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `tblfir`
--
-- --------------------------------------------------------
--
-- Table structure for table `tblpolice`
--
--
-- Dumping data for table `tblpolice`
--
INSERT INTO `tblpolice` (`ID`, `PoliceStationId`, `PoliceStationName`,
`PID`, `Name`, `MobileNumber`, `Email`, `Address`, `Password`,
`JoiningDate`) VALUES
(2, 2, 'New Delhi Railway Station', 'Pol124', 'Mr.Kailash Jadav',
8569899798, 'kail@gmail.com', 'J-786 J&K block Laxmi Nagar, New Delhi-
110096', '202cb962ac59075b964b07152d234b70', '2020-03-26 05:49:03'),
(3, 3, 'Mumbai Juhu', 'Pol125', 'Ms.Gyatri Sachdeva', 4511465741,
'gyatri@gmail.com', 'P-789 Seventh Floor Gaur City Noida-201017',
'202cb962ac59075b964b07152d234b70', '2020-03-26 05:49:03'),
(5, 1, 'NOIDA Sec 25', 'PL7564', 'jhjjkh', 8789754878, 'k@hmil.com',
'hjukhkhk', '202cb962ac59075b964b07152d234b70', '2020-03-26
06:49:38'),
(6, 1, 'NOIDA Sec 25', 'P1000', 'Anuj kumar', 9999213584,
'anujk30@gmail.com', 'New Delhi', 'f925916e2754e5e03f75dd58a5733251',
'2020-06-09 07:05:52'),
(7, 5, 'Delhi Laxmi Nagar', 'P1111', 'Amit Kumar', 1234567899,
'amitk30@gmail.com', 'New Delhi', 'f925916e2754e5e03f75dd58a5733251',
'2020-06-09 14:02:44');
-- --------------------------------------------------------
--
-- Table structure for table `tblpolicestation`
--
--
-- Dumping data for table `tblpolicestation`
--
-- --------------------------------------------------------
--
-- Table structure for table `tbluser`
--
--
-- Dumping data for table `tbluser`
--
--
-- Indexes for dumped tables
--
--
-- Indexes for table `tbladmin`
--
ALTER TABLE `tbladmin`
ADD PRIMARY KEY (`ID`);
--
-- Indexes for table `tblcategory`
--
ALTER TABLE `tblcategory`
ADD PRIMARY KEY (`ID`);
--
-- Indexes for table `tblcriminal`
--
ALTER TABLE `tblcriminal`
ADD PRIMARY KEY (`ID`);
--
-- Indexes for table `tblfir`
--
ALTER TABLE `tblfir`
ADD PRIMARY KEY (`ID`);
--
-- Indexes for table `tblpolice`
--
ALTER TABLE `tblpolice`
ADD PRIMARY KEY (`ID`);
--
-- Indexes for table `tblpolicestation`
--
ALTER TABLE `tblpolicestation`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `tbluser`
--
ALTER TABLE `tbluser`
ADD PRIMARY KEY (`ID`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `tbladmin`
--
ALTER TABLE `tbladmin`
MODIFY `ID` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `tblcategory`
--
ALTER TABLE `tblcategory`
MODIFY `ID` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
--
-- AUTO_INCREMENT for table `tblcriminal`
--
ALTER TABLE `tblcriminal`
MODIFY `ID` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT for table `tblfir`
--
ALTER TABLE `tblfir`
MODIFY `ID` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
--
-- AUTO_INCREMENT for table `tblpolice`
--
ALTER TABLE `tblpolice`
MODIFY `ID` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
--
-- AUTO_INCREMENT for table `tblpolicestation`
--
ALTER TABLE `tblpolicestation`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT for table `tbluser`
--
ALTER TABLE `tbluser`
MODIFY `ID` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
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 */;