-- phpMyAdmin SQL Dump
-- version 5.2.2
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Jan 25, 2026 at 01:53 PM
-- Server version: 8.0.45
-- PHP Version: 8.4.16

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

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

--
-- Table structure for table `panchayath`
--

CREATE TABLE `panchayath` (
  `id` int NOT NULL,
  `panchayath` varchar(50) COLLATE utf8mb3_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `panchayath`
--

INSERT INTO `panchayath` (`id`, `panchayath`) VALUES
(1, 'test-1'),
(2, 'test-2');

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

--
-- Table structure for table `students`
--

CREATE TABLE `students` (
  `id` int NOT NULL,
  `regnumber` varchar(50) COLLATE utf8mb3_unicode_ci NOT NULL,
  `name` varchar(100) COLLATE utf8mb3_unicode_ci NOT NULL,
  `exam` varchar(100) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `fathername` varchar(100) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `number` varchar(20) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `address` text COLLATE utf8mb3_unicode_ci,
  `panchayath` varchar(100) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `ward` varchar(50) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `photo` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `marklist` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `students`
--

INSERT INTO `students` (`id`, `regnumber`, `name`, `exam`, `fathername`, `number`, `address`, `panchayath`, `ward`, `photo`, `marklist`) VALUES
(1, '1', 'ASVIN T', 'SSLC', 'VINOD', '9446483832', 'SREESHYLAM', '2', '2', 'uploads/681d91e33e042.png', 'uploads/681d91e33e25d_66671cbadcc4b_Hana marklist  10 Jun 24 20┬╖15┬╖51.pdf'),
(2, '11', 'ASVIN T1', 'SSLC', 'VINOD', '1234567890', 'SREESHYLAM', '1', '1', 'uploads/681d9f0ebb294.png', 'uploads/681d9f0ebb51b_Letterhead workmateservices.pdf'),
(3, '1000', 'ASVIN', 'PLUS TWO', 'VINOD', '9446483832', 'SREESHYLAM', '', '2', 'uploads/683955fd497e6.png', 'uploads/683955fd49a0e_RRB PAYMENT SLIP.pdf');

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

--
-- Table structure for table `ward`
--

CREATE TABLE `ward` (
  `id` int NOT NULL,
  `ward` varchar(50) COLLATE utf8mb3_unicode_ci NOT NULL,
  `panchayath` int NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `ward`
--

INSERT INTO `ward` (`id`, `ward`, `panchayath`) VALUES
(1, 'ward1', 1),
(2, 'ward', 2);

--
-- Indexes for dumped tables
--

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

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

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

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `panchayath`
--
ALTER TABLE `panchayath`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `students`
--
ALTER TABLE `students`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `ward`
--
ALTER TABLE `ward`
  MODIFY `id` int 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 */;
