-- phpMyAdmin SQL Dump
-- version 5.2.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1:3306
-- Generation Time: May 22, 2025 at 06:27 PM
-- Server version: 9.1.0
-- PHP Version: 8.3.14

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

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

--
-- Table structure for table `accountdetail`
--

DROP TABLE IF EXISTS `accountdetail`;
CREATE TABLE IF NOT EXISTS `accountdetail` (
  `id` int NOT NULL AUTO_INCREMENT,
  `bid` int NOT NULL,
  `ac_number` varchar(255) NOT NULL,
  `ifsc` varchar(255) NOT NULL,
  `transaction_id` varchar(255) NOT NULL,
  `date_time` varchar(255) NOT NULL,
  `time_stamp` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

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

--
-- Table structure for table `bank`
--

DROP TABLE IF EXISTS `bank`;
CREATE TABLE IF NOT EXISTS `bank` (
  `id` int NOT NULL AUTO_INCREMENT,
  `b_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

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

--
-- Table structure for table `logs`
--

DROP TABLE IF EXISTS `logs`;
CREATE TABLE IF NOT EXISTS `logs` (
  `id` int NOT NULL AUTO_INCREMENT,
  `uid` int NOT NULL,
  `ip_address` varchar(220) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

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

--
-- Table structure for table `notice`
--

DROP TABLE IF EXISTS `notice`;
CREATE TABLE IF NOT EXISTS `notice` (
  `id` int NOT NULL AUTO_INCREMENT,
  `n_name` varchar(255) NOT NULL,
  `time_stamp` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

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

--
-- Table structure for table `police`
--

DROP TABLE IF EXISTS `police`;
CREATE TABLE IF NOT EXISTS `police` (
  `id` int NOT NULL AUTO_INCREMENT,
  `pid` int NOT NULL,
  `i_name` varchar(255) NOT NULL,
  `i_number` varchar(255) NOT NULL,
  `i_designation` varchar(255) NOT NULL,
  `i_sign` longtext NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `police`
--

INSERT INTO `police` (`id`, `pid`, `i_name`, `i_number`, `i_designation`, `i_sign`) VALUES
(1, 8, 'krunal', '7043311587', 'police inspector', 'uploads/1747924681_WhatsApp Image 2025-05-16 at 10.07.33 PM.jpeg');

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

--
-- Table structure for table `policestation`
--

DROP TABLE IF EXISTS `policestation`;
CREATE TABLE IF NOT EXISTS `policestation` (
  `id` int NOT NULL AUTO_INCREMENT,
  `spid` int NOT NULL,
  `p_name` varchar(200) NOT NULL,
  `p_address` varchar(200) NOT NULL,
  `p_landline` varchar(200) NOT NULL,
  `p_number` varchar(200) NOT NULL,
  `p_email` varchar(200) NOT NULL,
  `timestamp` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `policestation`
--

INSERT INTO `policestation` (`id`, `spid`, `p_name`, `p_address`, `p_landline`, `p_number`, `p_email`, `timestamp`) VALUES
(9, 1, 'SONGADH POLICE STATION', 'DIST – TAPI – SONGADH', '012789', '8320255573', 'polstn-son-tapi@gujarat.gov.in', '2025-05-22 18:39:44'),
(8, 1, 'VYARA POLICE STATION', 'DIST – TAPI – VYARA', '0279-222555', '7043311587', 'polstn-vya-tapi@gujarat.gov.in', '2025-05-22 18:38:38');

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

--
-- Table structure for table `spoffice`
--

DROP TABLE IF EXISTS `spoffice`;
CREATE TABLE IF NOT EXISTS `spoffice` (
  `id` int NOT NULL AUTO_INCREMENT,
  `sp_name` varchar(255) NOT NULL,
  `sp_address` varchar(255) NOT NULL,
  `sp_tel` varchar(255) NOT NULL,
  `sp_number` varchar(255) NOT NULL,
  `sp_email` varchar(200) NOT NULL,
  `time_stamp` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `spoffice`
--

INSERT INTO `spoffice` (`id`, `sp_name`, `sp_address`, `sp_tel`, `sp_number`, `sp_email`, `time_stamp`) VALUES
(1, 'RAHUL PATEL', 'VYARA-TAPI', '02626-222700', '9978405488', 'sp-tapi@gujarat.gov.in', '2025-05-22 17:20:18');

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

--
-- Table structure for table `subject`
--

DROP TABLE IF EXISTS `subject`;
CREATE TABLE IF NOT EXISTS `subject` (
  `id` int NOT NULL AUTO_INCREMENT,
  `s_name` varchar(255) NOT NULL,
  `time_stamp` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

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

--
-- Table structure for table `users`
--

DROP TABLE IF EXISTS `users`;
CREATE TABLE IF NOT EXISTS `users` (
  `id` int NOT NULL AUTO_INCREMENT,
  `pid` int NOT NULL,
  `name` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL,
  `password` varchar(255) NOT NULL,
  `time_stamp` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `users`
--

INSERT INTO `users` (`id`, `pid`, `name`, `email`, `password`, `time_stamp`) VALUES
(4, 5, 'krunal gamit', 'gamitkrunal7997@gmail.com', '8a74f58aed6be0d2c09e69e0ed5bff01', '2025-05-21 17:46:28');
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 */;
