File: /storage/v6964/school/.db.sql
/*M!999999\- enable the sandbox mode */
-- MariaDB dump 10.19 Distrib 10.6.22-MariaDB, for debian-linux-gnu (x86_64)
--
-- Host: localhost Database: schooldb
-- ------------------------------------------------------
-- Server version 10.6.22-MariaDB-ubu2204
/*!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 utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `academic_syllabus`
--
DROP TABLE IF EXISTS `academic_syllabus`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `academic_syllabus` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`academic_syllabus_code` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`title` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`class_id` int(11) NOT NULL,
`subject_id` int(11) NOT NULL,
`description` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`uploader_type` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`uploader_id` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`session` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`timestamp` int(11) NOT NULL,
`file_name` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `academic_syllabus`
--
LOCK TABLES `academic_syllabus` WRITE;
/*!40000 ALTER TABLE `academic_syllabus` DISABLE KEYS */;
/*!40000 ALTER TABLE `academic_syllabus` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `accountant`
--
DROP TABLE IF EXISTS `accountant`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `accountant` (
`accountant_id` int(11) NOT NULL AUTO_INCREMENT,
`name` longtext NOT NULL,
`accountant_number` longtext NOT NULL,
`birthday` longtext NOT NULL,
`sex` longtext NOT NULL,
`religion` longtext NOT NULL,
`blood_group` longtext NOT NULL,
`address` longtext NOT NULL,
`phone` longtext NOT NULL,
`email` longtext NOT NULL,
`facebook` longtext NOT NULL,
`twitter` longtext NOT NULL,
`googleplus` longtext NOT NULL,
`linkedin` longtext NOT NULL,
`qualification` longtext NOT NULL,
`marital_status` longtext NOT NULL,
`file_name` longtext NOT NULL,
`password` longtext NOT NULL,
`login_status` longtext NOT NULL,
PRIMARY KEY (`accountant_id`)
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `accountant`
--
LOCK TABLES `accountant` WRITE;
/*!40000 ALTER TABLE `accountant` DISABLE KEYS */;
INSERT INTO `accountant` VALUES (16,'Accountant','09f94645c8','2019-08-27','Male','Muslim','o+','Address Accountant','+912345667','accountant@accountant.com','facebook','twitter','googleplu','linkedin','PhD','Married','Terms of Service.docx','7110eda4d09e062aa5e4a390b0a572ac0d2c0220','0');
/*!40000 ALTER TABLE `accountant` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `activity`
--
DROP TABLE IF EXISTS `activity`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `activity` (
`activity_id` int(11) NOT NULL AUTO_INCREMENT,
`name` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`colour` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`icon` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`club_id` int(11) NOT NULL,
`description` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`date` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
PRIMARY KEY (`activity_id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `activity`
--
LOCK TABLES `activity` WRITE;
/*!40000 ALTER TABLE `activity` DISABLE KEYS */;
/*!40000 ALTER TABLE `activity` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `admin`
--
DROP TABLE IF EXISTS `admin`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `admin` (
`admin_id` int(11) NOT NULL AUTO_INCREMENT,
`name` longtext NOT NULL,
`email` longtext NOT NULL,
`phone` longtext NOT NULL,
`password` longtext NOT NULL,
`level` longtext NOT NULL,
`login_status` longtext NOT NULL,
PRIMARY KEY (`admin_id`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `admin`
--
LOCK TABLES `admin` WRITE;
/*!40000 ALTER TABLE `admin` DISABLE KEYS */;
INSERT INTO `admin` VALUES (1,'Administrator','admin@admin.com','07133445656','7110eda4d09e062aa5e4a390b0a572ac0d2c0220','1','1'),(9,'Udemy Instructor','udemy@udemy.com','+1564783934','7110eda4d09e062aa5e4a390b0a572ac0d2c0220','2','0');
/*!40000 ALTER TABLE `admin` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `admin_role`
--
DROP TABLE IF EXISTS `admin_role`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `admin_role` (
`admin_role_id` int(11) NOT NULL AUTO_INCREMENT,
`admin_id` int(11) NOT NULL,
`dashboard` int(11) NOT NULL,
`manage_academics` int(11) NOT NULL,
`manage_employee` int(11) NOT NULL,
`manage_student` int(11) NOT NULL,
`manage_attendance` int(11) NOT NULL,
`download_page` int(11) NOT NULL,
`manage_parent` int(11) NOT NULL,
`manage_alumni` int(11) NOT NULL,
PRIMARY KEY (`admin_role_id`)
) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `admin_role`
--
LOCK TABLES `admin_role` WRITE;
/*!40000 ALTER TABLE `admin_role` DISABLE KEYS */;
INSERT INTO `admin_role` VALUES (4,1,1,1,1,1,1,1,1,1),(7,9,1,1,1,1,1,1,1,1);
/*!40000 ALTER TABLE `admin_role` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `alumni`
--
DROP TABLE IF EXISTS `alumni`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `alumni` (
`alumni_id` int(11) NOT NULL AUTO_INCREMENT,
`name` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`sex` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`phone` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`email` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`address` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`profession` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`marital_status` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`g_year` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`club_id` int(11) NOT NULL,
`interest` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
PRIMARY KEY (`alumni_id`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `alumni`
--
LOCK TABLES `alumni` WRITE;
/*!40000 ALTER TABLE `alumni` DISABLE KEYS */;
INSERT INTO `alumni` VALUES (4,'Alumni Learner','Male','09066021052','d@d.com','Address','Engineer','married','2019-09-04',1,'Reading');
/*!40000 ALTER TABLE `alumni` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `application`
--
DROP TABLE IF EXISTS `application`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `application` (
`application_id` int(11) NOT NULL AUTO_INCREMENT,
`applicant_name` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`vacancy_id` int(11) NOT NULL,
`apply_date` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`status` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
PRIMARY KEY (`application_id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `application`
--
LOCK TABLES `application` WRITE;
/*!40000 ALTER TABLE `application` DISABLE KEYS */;
INSERT INTO `application` VALUES (2,'Udemy Application',3,'1567965600','interviewed');
/*!40000 ALTER TABLE `application` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `assignment`
--
DROP TABLE IF EXISTS `assignment`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `assignment` (
`assignment_id` int(11) NOT NULL AUTO_INCREMENT,
`name` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`subject_id` int(11) NOT NULL,
`class_id` int(11) NOT NULL,
`teacher_id` int(11) NOT NULL,
`description` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`file_name` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`file_type` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`timestamp` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
PRIMARY KEY (`assignment_id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `assignment`
--
LOCK TABLES `assignment` WRITE;
/*!40000 ALTER TABLE `assignment` DISABLE KEYS */;
INSERT INTO `assignment` VALUES (1,'Assignment for Nursery One',4,2,1,'DESC','invoice.docx','pdf','2018-08-19');
/*!40000 ALTER TABLE `assignment` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `attendance`
--
DROP TABLE IF EXISTS `attendance`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `attendance` (
`attendance_id` int(11) NOT NULL AUTO_INCREMENT,
`status` int(11) NOT NULL COMMENT '0 undefined , 1 present , 2 absent, 3 holiday, 4 half day, 5 late',
`student_id` int(11) NOT NULL,
`date` date NOT NULL,
`session` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
PRIMARY KEY (`attendance_id`)
) ENGINE=InnoDB AUTO_INCREMENT=42 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `attendance`
--
LOCK TABLES `attendance` WRITE;
/*!40000 ALTER TABLE `attendance` DISABLE KEYS */;
INSERT INTO `attendance` VALUES (39,1,45,'2019-12-20',''),(40,1,45,'2019-12-22',''),(41,3,45,'2021-08-17','');
/*!40000 ALTER TABLE `attendance` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `author`
--
DROP TABLE IF EXISTS `author`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `author` (
`author_id` int(11) NOT NULL AUTO_INCREMENT,
`name` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`description` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
PRIMARY KEY (`author_id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `author`
--
LOCK TABLES `author` WRITE;
/*!40000 ALTER TABLE `author` DISABLE KEYS */;
INSERT INTO `author` VALUES (2,'Esther and Atorise.','The book is written by Esther and Atorise');
/*!40000 ALTER TABLE `author` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `award`
--
DROP TABLE IF EXISTS `award`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `award` (
`award_id` int(11) NOT NULL AUTO_INCREMENT,
`award_code` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`name` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`gift` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`amount` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`date` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`user_id` longtext NOT NULL,
PRIMARY KEY (`award_id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `award`
--
LOCK TABLES `award` WRITE;
/*!40000 ALTER TABLE `award` DISABLE KEYS */;
INSERT INTO `award` VALUES (2,'4675HD','Most Dedicated','Award','1000','2019-09-19','hrm-15');
/*!40000 ALTER TABLE `award` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `bank`
--
DROP TABLE IF EXISTS `bank`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `bank` (
`bank_id` int(11) NOT NULL AUTO_INCREMENT,
`account_holder_name` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`account_number` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`bank_name` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`branch` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
PRIMARY KEY (`bank_id`)
) ENGINE=MyISAM AUTO_INCREMENT=35 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `bank`
--
LOCK TABLES `bank` WRITE;
/*!40000 ALTER TABLE `bank` DISABLE KEYS */;
INSERT INTO `bank` VALUES (2,'Udemy Instructor','1234567','Payoneer or paypal','USA'),(3,'Udemy Instructor','1234567','Payoneer or paypal','USA'),(4,'Udemy Instructor','1234567','Payoneer or paypal','USA'),(5,'abcd','1223e445','sfs','ims'),(6,'Hema','1223e445','sfs','ims'),(7,'Hemashree','1223e445','sfs','ims'),(8,'mouna','654tt7','iian','ims'),(9,'kiran','12we321','sfs','ims'),(10,'Hema','1223e445','sfs','ims'),(11,'geetha','12345','sss','ssss'),(12,'Hema','1223e445','sfs','ims'),(13,'abcd','1223e445','iian','wqwqw'),(14,'abcd','1223e445','iian','wqwqw'),(15,'abcd','1223e445','iian','wqwqw'),(16,'abcd','1223e445','iian','wqwqw'),(17,'abcd','1223e445','iian','wqwqw'),(18,'Hema','1223e445','sfs','ssss'),(19,'Hema','1223e445','sfs','ssss'),(20,'Hema','1223e445','sfs','ssss'),(21,'Hema','1223e445','sfs','ims'),(22,'Hema','1223e445','sfs','ims'),(23,'dolly','12345','sfs','ims'),(24,'geetha','12we321','sfs','ims'),(25,'geetha','12we321','sfs','ims'),(26,'hemavathi','1223e445','sfs','ims'),(27,'sachin','1223e445','sfs','ims'),(28,'22','121','122','12'),(29,'22','121','122','12'),(30,'Hema','1223e445','qwq','wqwqw'),(31,'Hema','1223e445','qwq','wqwqw'),(32,'wewe','121','qqwwqwq','ssss'),(33,'neo','12345','sss','wqwqw'),(34,'mmmm','1223e445','qwq','ims');
/*!40000 ALTER TABLE `bank` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `book`
--
DROP TABLE IF EXISTS `book`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `book` (
`book_id` int(11) NOT NULL AUTO_INCREMENT,
`name` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`description` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`author_id` int(11) NOT NULL,
`publisher_id` int(11) NOT NULL,
`book_category_id` int(11) NOT NULL,
`isbn` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`edition` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`subject_id` int(11) NOT NULL,
`quantity` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`timestamp` int(11) NOT NULL,
`class_id` int(11) NOT NULL,
`status` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`price` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
PRIMARY KEY (`book_id`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `book`
--
LOCK TABLES `book` WRITE;
/*!40000 ALTER TABLE `book` DISABLE KEYS */;
INSERT INTO `book` VALUES (1,'Advance Java.','This is the newly released book by Sheg',2,1,2,'DS34FD','1st',0,'1',1576951200,2,'1','200'),(2,'Python','Python',2,1,2,'DS34FD','1st',4,'2',1574186400,2,'2','500');
/*!40000 ALTER TABLE `book` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `book_category`
--
DROP TABLE IF EXISTS `book_category`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `book_category` (
`book_category_id` int(11) NOT NULL AUTO_INCREMENT,
`name` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`description` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
PRIMARY KEY (`book_category_id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `book_category`
--
LOCK TABLES `book_category` WRITE;
/*!40000 ALTER TABLE `book_category` DISABLE KEYS */;
INSERT INTO `book_category` VALUES (2,'Non fictional.','This is another non-fictional book');
/*!40000 ALTER TABLE `book_category` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ci_sessions`
--
DROP TABLE IF EXISTS `ci_sessions`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `ci_sessions` (
`id` varchar(40) NOT NULL,
`ip_address` varchar(45) NOT NULL,
`timestamp` int(10) unsigned NOT NULL DEFAULT 0,
`data` blob NOT NULL,
PRIMARY KEY (`id`),
KEY `ci_sessions_timestamp` (`timestamp`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ci_sessions`
--
LOCK TABLES `ci_sessions` WRITE;
/*!40000 ALTER TABLE `ci_sessions` DISABLE KEYS */;
INSERT INTO `ci_sessions` VALUES ('0o55lsviqm8i8evg7i1164p53mkp4vup','127.0.0.1',1576400835,'__ci_last_regenerate|i:1576400835;login_type|s:5:\"admin\";admin_login|s:1:\"1\";admin_id|s:1:\"8\";login_user_id|s:1:\"8\";name|s:13:\"Administrator\";'),('5k29uj9otbufutr4sl6sm1sgqajns7q3','127.0.0.1',1576401225,'__ci_last_regenerate|i:1576401225;login_type|s:5:\"admin\";admin_login|s:1:\"1\";admin_id|s:1:\"8\";login_user_id|s:1:\"8\";name|s:13:\"Administrator\";'),('6qlbqi95gm56km49cioacibnpl1d6qap','127.0.0.1',1575989622,'__ci_last_regenerate|i:1575989622;'),('7k1ho15mjeg7u9lbsua6a6f0fl3okgf5','127.0.0.1',1575989675,'__ci_last_regenerate|i:1575989675;'),('8esqiumpgo03rthcimbnehv3b2e9bc2p','127.0.0.1',1575989062,'__ci_last_regenerate|i:1575989062;login_type|s:5:\"admin\";admin_login|s:1:\"1\";admin_id|s:1:\"8\";login_user_id|s:1:\"8\";name|s:13:\"Administrator\";'),('ea738lb5ik6v0kmm7dm2pbud27k02glr','127.0.0.1',1576397281,'__ci_last_regenerate|i:1576397281;login_type|s:5:\"admin\";admin_login|s:1:\"1\";admin_id|s:1:\"8\";login_user_id|s:1:\"8\";name|s:13:\"Administrator\";'),('fofehi7eaeqj2bk5eit5ekp41gd147hi','127.0.0.1',1576397948,'__ci_last_regenerate|i:1576397948;login_type|s:5:\"admin\";admin_login|s:1:\"1\";admin_id|s:1:\"8\";login_user_id|s:1:\"8\";name|s:13:\"Administrator\";'),('jjgc5umr0p2np4aneuua2t7tm89v1voj','127.0.0.1',1576239186,'__ci_last_regenerate|i:1576239186;login_type|s:5:\"admin\";admin_login|s:1:\"1\";admin_id|s:1:\"8\";login_user_id|s:1:\"8\";name|s:13:\"Administrator\";'),('l1e17mk7cdg71do9qouos1q5249fetn7','127.0.0.1',1576239187,'__ci_last_regenerate|i:1576239187;'),('l46es3qrhtcgi7kcc8daopocsam1knfg','127.0.0.1',1576401563,'__ci_last_regenerate|i:1576401563;login_type|s:5:\"admin\";admin_login|s:1:\"1\";admin_id|s:1:\"8\";login_user_id|s:1:\"8\";name|s:13:\"Administrator\";'),('m9sj7su5id61c0rfj53c718pqrbt4hq6','127.0.0.1',1576396972,'__ci_last_regenerate|i:1576396972;login_type|s:5:\"admin\";admin_login|s:1:\"1\";admin_id|s:1:\"8\";login_user_id|s:1:\"8\";name|s:13:\"Administrator\";flash_message|s:18:\"Successfully Login\";__ci_vars|a:1:{s:13:\"flash_message\";s:3:\"old\";}'),('ndto2l4cv384prfveod69n5duullmo4o','127.0.0.1',1576401722,'__ci_last_regenerate|i:1576401722;'),('pk4m8lpu6igmqgieqnm547i4q2h99gud','127.0.0.1',1575988659,'__ci_last_regenerate|i:1575988659;login_type|s:5:\"admin\";admin_login|s:1:\"1\";admin_id|s:1:\"8\";login_user_id|s:1:\"8\";name|s:13:\"Administrator\";'),('qhcrmmb8gppl38vmtu8jd806a7l0oksa','127.0.0.1',1575989414,'__ci_last_regenerate|i:1575989414;login_type|s:5:\"admin\";admin_login|s:1:\"1\";admin_id|s:1:\"8\";login_user_id|s:1:\"8\";name|s:13:\"Administrator\";');
/*!40000 ALTER TABLE `ci_sessions` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `circular`
--
DROP TABLE IF EXISTS `circular`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `circular` (
`circular_id` int(11) NOT NULL AUTO_INCREMENT,
`title` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`reference` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`content` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`date` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
PRIMARY KEY (`circular_id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `circular`
--
LOCK TABLES `circular` WRITE;
/*!40000 ALTER TABLE `circular` DISABLE KEYS */;
INSERT INTO `circular` VALUES (2,'Meeting for all the members of the school','DF46SFGH','This is for all the teaching staff. Ensure you are all present.','2018-08-24');
/*!40000 ALTER TABLE `circular` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `class`
--
DROP TABLE IF EXISTS `class`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `class` (
`class_id` int(11) NOT NULL AUTO_INCREMENT,
`name` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`name_numeric` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`teacher_id` int(11) NOT NULL,
PRIMARY KEY (`class_id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `class`
--
LOCK TABLES `class` WRITE;
/*!40000 ALTER TABLE `class` DISABLE KEYS */;
INSERT INTO `class` VALUES (2,'Nursery oneplus','Nursery 1',3);
/*!40000 ALTER TABLE `class` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `class_routine`
--
DROP TABLE IF EXISTS `class_routine`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `class_routine` (
`class_routine_id` int(11) NOT NULL AUTO_INCREMENT,
`class_id` int(11) NOT NULL,
`section_id` int(11) NOT NULL,
`subject_id` int(11) NOT NULL,
`time_start` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`time_end` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`time_start_min` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`time_end_min` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`day` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`year` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
PRIMARY KEY (`class_routine_id`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `class_routine`
--
LOCK TABLES `class_routine` WRITE;
/*!40000 ALTER TABLE `class_routine` DISABLE KEYS */;
INSERT INTO `class_routine` VALUES (5,2,3,4,'3','17','20','20','monday','2019-2020');
/*!40000 ALTER TABLE `class_routine` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `club`
--
DROP TABLE IF EXISTS `club`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `club` (
`club_id` int(11) NOT NULL AUTO_INCREMENT,
`club_name` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`desc` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`date` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
PRIMARY KEY (`club_id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `club`
--
LOCK TABLES `club` WRITE;
/*!40000 ALTER TABLE `club` DISABLE KEYS */;
INSERT INTO `club` VALUES (1,'Jet club','This is for those who love science.','2019-08-25');
/*!40000 ALTER TABLE `club` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `department`
--
DROP TABLE IF EXISTS `department`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `department` (
`department_id` int(11) NOT NULL AUTO_INCREMENT,
`name` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`department_code` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
PRIMARY KEY (`department_id`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `department`
--
LOCK TABLES `department` WRITE;
/*!40000 ALTER TABLE `department` DISABLE KEYS */;
INSERT INTO `department` VALUES (2,'Bursar','aed7c689d676c7c');
/*!40000 ALTER TABLE `department` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `designation`
--
DROP TABLE IF EXISTS `designation`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `designation` (
`designation_id` int(11) NOT NULL AUTO_INCREMENT,
`name` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`department_id` int(11) NOT NULL,
PRIMARY KEY (`designation_id`)
) ENGINE=MyISAM AUTO_INCREMENT=14 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `designation`
--
LOCK TABLES `designation` WRITE;
/*!40000 ALTER TABLE `designation` DISABLE KEYS */;
INSERT INTO `designation` VALUES (5,'Tutorial',2),(4,'Udemy',2),(6,'Student',2);
/*!40000 ALTER TABLE `designation` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `doctor`
--
DROP TABLE IF EXISTS `doctor`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `doctor` (
`doctor_id` int(10) NOT NULL AUTO_INCREMENT,
`name` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`role` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci DEFAULT NULL,
`doctor_num` int(11) NOT NULL,
`birthday` date DEFAULT NULL,
`sex` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci DEFAULT NULL,
`religion` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci DEFAULT NULL,
`blood_group` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci DEFAULT NULL,
`address` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci DEFAULT NULL,
`phone` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci DEFAULT NULL,
`email` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci DEFAULT NULL,
`facebook` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci DEFAULT NULL,
`twitter` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci DEFAULT NULL,
`googleplus` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci DEFAULT NULL,
`linkedin` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci DEFAULT NULL,
`qualification` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci DEFAULT NULL,
`marital_status` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci DEFAULT NULL,
`file_name` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci DEFAULT NULL,
`password` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci DEFAULT NULL,
`department_id` int(10) DEFAULT NULL,
`designation_id` int(10) DEFAULT NULL,
`joining_salary` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci DEFAULT NULL,
`status` int(10) DEFAULT NULL,
`date_of_leaving` int(11) DEFAULT NULL,
`login_status` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
PRIMARY KEY (`doctor_id`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `doctor`
--
LOCK TABLES `doctor` WRITE;
/*!40000 ALTER TABLE `doctor` DISABLE KEYS */;
INSERT INTO `doctor` VALUES (4,'sachin','1',0,'2018-08-19','male','Hindu','o+','thumkur','999878790','sachin@gmail.com','sasa','#','#','admin@admi','bcom','Single','nuts3.png','8cb2237d06',2,4,'2323',0,2021,''),(5,'abcd','1',0,'2018-08-19','male','Hindu','o+','#01 5th cross, Vinayaka nagar','999878790','admin@admin.com','sasa','#','#','admin@admin.com','bcom','Single','nuts3.png','7110eda4d0',2,4,'7878',1,2021,''),(6,'neo','1',0,'2018-08-19','male','Hindu','o+','tumkur','999878790','neo@gmail.com','sasa','#','#','admin@admin.com','bcom','Single','nuts3.png','7110eda4d0',2,4,'2212',1,2021,'0'),(7,'mmmm','1',0,'2018-08-19','male','Hindu','o+','#01 5th cross, Vinayaka nagar','99804325','mmmm@gmail.com','sasa','#','#','admin@admin.com','bcom','Married','nuts3.png','7110eda4d09e062aa5e4a390b0a572ac0d2c0220',2,4,'909090',1,2021,'1');
/*!40000 ALTER TABLE `doctor` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `dormitory`
--
DROP TABLE IF EXISTS `dormitory`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `dormitory` (
`dormitory_id` int(11) NOT NULL AUTO_INCREMENT,
`name` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`hostel_room_id` int(11) NOT NULL,
`hostel_category_id` int(11) NOT NULL,
`capacity` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`address` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`description` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
PRIMARY KEY (`dormitory_id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `dormitory`
--
LOCK TABLES `dormitory` WRITE;
/*!40000 ALTER TABLE `dormitory` DISABLE KEYS */;
INSERT INTO `dormitory` VALUES (2,'Wiz Hostel',2,3,'200','Address for hostel location','Address for hostel location');
/*!40000 ALTER TABLE `dormitory` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `enquiry`
--
DROP TABLE IF EXISTS `enquiry`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `enquiry` (
`enquiry_id` int(11) NOT NULL AUTO_INCREMENT,
`category` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`mobile` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`purpose` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`name` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`whom_to_meet` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`email` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`content` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
PRIMARY KEY (`enquiry_id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `enquiry`
--
LOCK TABLES `enquiry` WRITE;
/*!40000 ALTER TABLE `enquiry` DISABLE KEYS */;
/*!40000 ALTER TABLE `enquiry` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `enquiry_category`
--
DROP TABLE IF EXISTS `enquiry_category`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `enquiry_category` (
`enquiry_category_id` int(11) NOT NULL AUTO_INCREMENT,
`category` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`purpose` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`whom` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
PRIMARY KEY (`enquiry_category_id`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `enquiry_category`
--
LOCK TABLES `enquiry_category` WRITE;
/*!40000 ALTER TABLE `enquiry_category` DISABLE KEYS */;
INSERT INTO `enquiry_category` VALUES (3,'This is for ID 3 information.','Payment','Tutorial'),(4,'This is Udemy Information','School fees information','Just edited now');
/*!40000 ALTER TABLE `enquiry_category` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `exam`
--
DROP TABLE IF EXISTS `exam`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `exam` (
`exam_id` int(11) NOT NULL AUTO_INCREMENT,
`name` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`comment` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`timestamp` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
PRIMARY KEY (`exam_id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `exam`
--
LOCK TABLES `exam` WRITE;
/*!40000 ALTER TABLE `exam` DISABLE KEYS */;
INSERT INTO `exam` VALUES (1,'First Term Examination','First Term','2019-10-30');
/*!40000 ALTER TABLE `exam` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `exam_question`
--
DROP TABLE IF EXISTS `exam_question`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `exam_question` (
`exam_question_id` int(11) NOT NULL AUTO_INCREMENT,
`name` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`teacher_id` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`subject_id` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`description` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`class_id` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`file_name` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`file_type` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`timestamp` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`status` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
PRIMARY KEY (`exam_question_id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `exam_question`
--
LOCK TABLES `exam_question` WRITE;
/*!40000 ALTER TABLE `exam_question` DISABLE KEYS */;
/*!40000 ALTER TABLE `exam_question` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `expense_category`
--
DROP TABLE IF EXISTS `expense_category`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `expense_category` (
`expense_category_id` int(11) NOT NULL AUTO_INCREMENT,
`name` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
PRIMARY KEY (`expense_category_id`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `expense_category`
--
LOCK TABLES `expense_category` WRITE;
/*!40000 ALTER TABLE `expense_category` DISABLE KEYS */;
INSERT INTO `expense_category` VALUES (5,'Reading Books.');
/*!40000 ALTER TABLE `expense_category` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `hostel`
--
DROP TABLE IF EXISTS `hostel`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `hostel` (
`hostel_id` int(11) NOT NULL AUTO_INCREMENT,
`name` longtext NOT NULL,
`hostel_number` longtext NOT NULL,
`birthday` longtext NOT NULL,
`sex` longtext NOT NULL,
`religion` longtext NOT NULL,
`blood_group` longtext NOT NULL,
`address` longtext NOT NULL,
`phone` longtext NOT NULL,
`email` longtext NOT NULL,
`facebook` longtext NOT NULL,
`twitter` longtext NOT NULL,
`googleplus` longtext NOT NULL,
`linkedin` longtext NOT NULL,
`qualification` longtext NOT NULL,
`marital_status` longtext NOT NULL,
`file_name` longtext NOT NULL,
`password` longtext NOT NULL,
`login_status` longtext NOT NULL,
PRIMARY KEY (`hostel_id`)
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `hostel`
--
LOCK TABLES `hostel` WRITE;
/*!40000 ALTER TABLE `hostel` DISABLE KEYS */;
INSERT INTO `hostel` VALUES (15,'Hostel Udemy','78e39debb4','2019-08-27','Male','Muslim','o+','This is the new address for the new hostel manager.','+912345667','hostel@hostel.com','facebook','twitter','googleplus','linkedin','PhD','Married','Welcome to Optimum Linkup.docx','7110eda4d09e062aa5e4a390b0a572ac0d2c0220','0');
/*!40000 ALTER TABLE `hostel` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `hostel_category`
--
DROP TABLE IF EXISTS `hostel_category`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `hostel_category` (
`hostel_category_id` int(11) NOT NULL AUTO_INCREMENT,
`name` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`description` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
PRIMARY KEY (`hostel_category_id`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `hostel_category`
--
LOCK TABLES `hostel_category` WRITE;
/*!40000 ALTER TABLE `hostel_category` DISABLE KEYS */;
INSERT INTO `hostel_category` VALUES (2,'Female','This is for female only.'),(3,'Male','This is for male only. Female are not allowed.');
/*!40000 ALTER TABLE `hostel_category` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `hostel_room`
--
DROP TABLE IF EXISTS `hostel_room`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `hostel_room` (
`hostel_room_id` int(11) NOT NULL AUTO_INCREMENT,
`name` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`room_type` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`num_bed` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`cost_bed` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`description` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
PRIMARY KEY (`hostel_room_id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `hostel_room`
--
LOCK TABLES `hostel_room` WRITE;
/*!40000 ALTER TABLE `hostel_room` DISABLE KEYS */;
INSERT INTO `hostel_room` VALUES (2,'Room One','Single','2','5000','This is for the big guys among us.');
/*!40000 ALTER TABLE `hostel_room` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `house`
--
DROP TABLE IF EXISTS `house`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `house` (
`house_id` int(11) NOT NULL AUTO_INCREMENT,
`name` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`description` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
PRIMARY KEY (`house_id`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `house`
--
LOCK TABLES `house` WRITE;
/*!40000 ALTER TABLE `house` DISABLE KEYS */;
INSERT INTO `house` VALUES (1,'Purple House','This is for students in purple house');
/*!40000 ALTER TABLE `house` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `hrm`
--
DROP TABLE IF EXISTS `hrm`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `hrm` (
`hrm_id` int(11) NOT NULL AUTO_INCREMENT,
`name` longtext NOT NULL,
`hrm_number` longtext NOT NULL,
`birthday` longtext NOT NULL,
`sex` longtext NOT NULL,
`religion` longtext NOT NULL,
`blood_group` longtext NOT NULL,
`address` longtext NOT NULL,
`phone` longtext NOT NULL,
`email` longtext NOT NULL,
`facebook` longtext NOT NULL,
`twitter` longtext NOT NULL,
`googleplus` longtext NOT NULL,
`linkedin` longtext NOT NULL,
`qualification` longtext NOT NULL,
`marital_status` longtext NOT NULL,
`file_name` longtext NOT NULL,
`password` longtext NOT NULL,
`login_status` longtext NOT NULL,
PRIMARY KEY (`hrm_id`)
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `hrm`
--
LOCK TABLES `hrm` WRITE;
/*!40000 ALTER TABLE `hrm` DISABLE KEYS */;
INSERT INTO `hrm` VALUES (15,'Human Udemy','414bbf2d2a','2019-08-27','Male','Christianity','B+','This is the newly added human resources manager address','+912345667','hrm@hrm.com','facebook','twitter','googleplus','linkedin','PhD','Married','index.html','7110eda4d09e062aa5e4a390b0a572ac0d2c0220','0');
/*!40000 ALTER TABLE `hrm` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `invoice`
--
DROP TABLE IF EXISTS `invoice`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `invoice` (
`invoice_id` int(11) NOT NULL AUTO_INCREMENT,
`invoice_number` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`student_id` int(11) NOT NULL,
`title` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`description` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`amount` int(11) NOT NULL,
`discount` int(11) NOT NULL,
`amount_paid` int(11) NOT NULL,
`due` int(11) NOT NULL,
`creation_timestamp` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`payment_method` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`status` int(11) NOT NULL,
`year` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
PRIMARY KEY (`invoice_id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `invoice`
--
LOCK TABLES `invoice` WRITE;
/*!40000 ALTER TABLE `invoice` DISABLE KEYS */;
INSERT INTO `invoice` VALUES (2,'742593INV2019',45,'Another Part payment for eLibrary','Another Part payment for eLibrary.',7000,0,6200,800,'2019-11-12','1',2,'2019-2020');
/*!40000 ALTER TABLE `invoice` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `language`
--
DROP TABLE IF EXISTS `language`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `language` (
`phrase_id` int(11) NOT NULL AUTO_INCREMENT,
`phrase` longtext NOT NULL,
`english` longtext DEFAULT NULL,
`arabic` longtext DEFAULT NULL,
`french` longtext DEFAULT NULL,
`korea` longtext DEFAULT NULL,
PRIMARY KEY (`phrase_id`)
) ENGINE=MyISAM AUTO_INCREMENT=40558 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `language`
--
LOCK TABLES `language` WRITE;
/*!40000 ALTER TABLE `language` DISABLE KEYS */;
INSERT INTO `language` VALUES (1,'Manage Language','Manage Language','إدارة اللغة',NULL,NULL),(2,'active language','Active Language','اللغة النشطة',NULL,NULL),(40557,'add',NULL,NULL,NULL,NULL);
/*!40000 ALTER TABLE `language` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `language_list`
--
DROP TABLE IF EXISTS `language_list`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `language_list` (
`language_list_id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(500) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci DEFAULT NULL,
`db_field` varchar(300) DEFAULT NULL,
`status` varchar(20) DEFAULT NULL,
PRIMARY KEY (`language_list_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `language_list`
--
LOCK TABLES `language_list` WRITE;
/*!40000 ALTER TABLE `language_list` DISABLE KEYS */;
/*!40000 ALTER TABLE `language_list` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `leave`
--
DROP TABLE IF EXISTS `leave`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `leave` (
`leave_id` int(11) NOT NULL AUTO_INCREMENT,
`leave_code` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`teacher_id` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`start_date` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`end_date` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`reason` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`status` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
PRIMARY KEY (`leave_id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `leave`
--
LOCK TABLES `leave` WRITE;
/*!40000 ALTER TABLE `leave` DISABLE KEYS */;
/*!40000 ALTER TABLE `leave` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `librarian`
--
DROP TABLE IF EXISTS `librarian`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `librarian` (
`librarian_id` int(11) NOT NULL AUTO_INCREMENT,
`name` longtext NOT NULL,
`librarian_number` longtext NOT NULL,
`birthday` longtext NOT NULL,
`sex` longtext NOT NULL,
`religion` longtext NOT NULL,
`blood_group` longtext NOT NULL,
`address` longtext NOT NULL,
`phone` longtext NOT NULL,
`email` longtext NOT NULL,
`facebook` longtext NOT NULL,
`twitter` longtext NOT NULL,
`googleplus` longtext NOT NULL,
`linkedin` longtext NOT NULL,
`qualification` longtext NOT NULL,
`marital_status` longtext NOT NULL,
`file_name` longtext NOT NULL,
`password` longtext NOT NULL,
`login_status` longtext NOT NULL,
PRIMARY KEY (`librarian_id`)
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `librarian`
--
LOCK TABLES `librarian` WRITE;
/*!40000 ALTER TABLE `librarian` DISABLE KEYS */;
INSERT INTO `librarian` VALUES (13,'Udemy Librarian','42ed75d802','2019-08-26','Male','Muslim','O-','Address','+912345667','librarian@librarian.com','facebook','twitter','googleplus','linkedin','PhD','Married','invoice.docx','7110eda4d09e062aa5e4a390b0a572ac0d2c0220','0'),(14,'','ff84ce27eb','2021-08-16','Male','','','','','','','','','admin@admin.com','','Married','','7110eda4d09e062aa5e4a390b0a572ac0d2c0220','');
/*!40000 ALTER TABLE `librarian` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `mark`
--
DROP TABLE IF EXISTS `mark`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `mark` (
`mark_id` int(11) NOT NULL AUTO_INCREMENT,
`student_id` int(11) NOT NULL,
`subject_id` int(11) NOT NULL,
`exam_id` int(11) NOT NULL,
`class_id` int(11) NOT NULL,
`class_score1` int(11) NOT NULL,
`class_score2` int(11) NOT NULL,
`class_score3` int(11) NOT NULL,
`exam_score` int(11) NOT NULL,
`comment` longtext NOT NULL,
PRIMARY KEY (`mark_id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `mark`
--
LOCK TABLES `mark` WRITE;
/*!40000 ALTER TABLE `mark` DISABLE KEYS */;
INSERT INTO `mark` VALUES (1,45,5,1,2,10,9,8,70,'Good performance.'),(2,45,4,1,2,10,7,9,69,'Excellent performance.');
/*!40000 ALTER TABLE `mark` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `material`
--
DROP TABLE IF EXISTS `material`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `material` (
`material_id` int(11) NOT NULL AUTO_INCREMENT,
`name` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`class_id` int(11) NOT NULL,
`subject_id` int(11) NOT NULL,
`teacher_id` int(11) NOT NULL,
`description` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`file_name` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`file_type` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`timestamp` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
PRIMARY KEY (`material_id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `material`
--
LOCK TABLES `material` WRITE;
/*!40000 ALTER TABLE `material` DISABLE KEYS */;
INSERT INTO `material` VALUES (1,'Study material for Nursery One',2,5,1,'This is for class only.','profile.png','docx','2018-08-19');
/*!40000 ALTER TABLE `material` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `noticeboard`
--
DROP TABLE IF EXISTS `noticeboard`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `noticeboard` (
`noticeboard_id` int(11) NOT NULL AUTO_INCREMENT,
`title` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`location` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`timestamp` int(11) NOT NULL,
`description` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
PRIMARY KEY (`noticeboard_id`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `noticeboard`
--
LOCK TABLES `noticeboard` WRITE;
/*!40000 ALTER TABLE `noticeboard` DISABLE KEYS */;
INSERT INTO `noticeboard` VALUES (3,'Second meeting coming up soon','Udemy Forum',1575136800,'The meeting is coming up soon. Ensure you are fully prepared.'),(4,'Parent Teacher Association Meeting.','Ontario Location',1575050400,'This is the new updated information as regards the meeting.');
/*!40000 ALTER TABLE `noticeboard` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `parent`
--
DROP TABLE IF EXISTS `parent`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `parent` (
`parent_id` int(11) NOT NULL AUTO_INCREMENT,
`name` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`email` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`password` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`phone` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`address` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`profession` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`login_status` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
PRIMARY KEY (`parent_id`)
) ENGINE=MyISAM AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `parent`
--
LOCK TABLES `parent` WRITE;
/*!40000 ALTER TABLE `parent` DISABLE KEYS */;
INSERT INTO `parent` VALUES (4,'Mr. Parent','parent@parent.com','7110eda4d09e062aa5e4a390b0a572ac0d2c0220','+912345667','Udemy Address','Learners','0'),(6,'domain','admin@admin.com','7110eda4d09e062aa5e4a390b0a572ac0d2c0220','98709987','mangalore','business',''),(7,'sachin','admin@admin.com','7110eda4d09e062aa5e4a390b0a572ac0d2c0220','90908780','tumkur','learner',''),(8,'kiran','admin@admin.com','7110eda4d09e062aa5e4a390b0a572ac0d2c0220','99804325','bellary','kkkkkk',''),(9,'rahim','admin@admin.com','7110eda4d09e062aa5e4a390b0a572ac0d2c0220','7890987','nodia','business','');
/*!40000 ALTER TABLE `parent` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `payment`
--
DROP TABLE IF EXISTS `payment`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `payment` (
`payment_id` int(11) NOT NULL AUTO_INCREMENT,
`expense_category_id` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`title` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`payment_type` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`invoice_id` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`student_id` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`method` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`description` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`amount` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`discount` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`timestamp` int(11) NOT NULL,
`year` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
PRIMARY KEY (`payment_id`)
) ENGINE=MyISAM AUTO_INCREMENT=11 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `payment`
--
LOCK TABLES `payment` WRITE;
/*!40000 ALTER TABLE `payment` DISABLE KEYS */;
INSERT INTO `payment` VALUES (2,'5','Purchase of school reading','expense','','','2','This was purchase by the school administrator for the purpose of having reading books in the school.<br>','5000','',556644564,'2019-2020'),(5,'5','Purchase of school chalks','expense','','','1','Purchase of school chalks<br>','3000','',556644564,'2019-2020'),(6,'','Part payment for eLibrary','','2','45','1','income','5000','0',556644564,''),(7,'','Another payment for eLibrary','income','3','45','1','Another payment for eLibrary','2000','0',445667865,''),(8,'','Part payment for eLibrary','income','2','45','1','Part payment for eLibrary','1200','',556644564,''),(9,'5','New chalk purchased','expense','','','3','New chalk purchased<br>','1000','',556644564,'2019-2020'),(10,'','Another Part payment for eLibrary.','income','2','45','1','Another Part payment for eLibrary.','5000','',1576951200,'2019-2020');
/*!40000 ALTER TABLE `payment` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `payroll`
--
DROP TABLE IF EXISTS `payroll`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `payroll` (
`payroll_id` int(11) NOT NULL AUTO_INCREMENT,
`payroll_code` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`user_id` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`allowances` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`deductions` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`date` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`status` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
PRIMARY KEY (`payroll_id`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `payroll`
--
LOCK TABLES `payroll` WRITE;
/*!40000 ALTER TABLE `payroll` DISABLE KEYS */;
INSERT INTO `payroll` VALUES (4,'c94d9d7','1','[{\"type\":\"A\",\"amount\":\"1000\"},{\"type\":\"B\",\"amount\":\"1000\"}]','[{\"type\":\"A\",\"amount\":\"200\"},{\"type\":\"B\",\"amount\":\"700\"}]','10,2019','0'),(3,'a8c4ae9','1','[{\"type\":\"Food\",\"amount\":\"5000\"},{\"type\":\"House\",\"amount\":\"2000\"}]','[{\"type\":\"Tax1\",\"amount\":\"1000\"},{\"type\":\"Tax2\",\"amount\":\"500\"}]','9,2019','1'),(5,'75c1f3d','1','[{\"type\":\"A\",\"amount\":\"2000\"},{\"type\":\"B\",\"amount\":\"1000\"}]','[{\"type\":\"A\",\"amount\":\"500\"},{\"type\":\"B\",\"amount\":\"500\"}]','12,2019','1');
/*!40000 ALTER TABLE `payroll` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `publisher`
--
DROP TABLE IF EXISTS `publisher`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `publisher` (
`publisher_id` int(11) NOT NULL AUTO_INCREMENT,
`name` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`description` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
PRIMARY KEY (`publisher_id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `publisher`
--
LOCK TABLES `publisher` WRITE;
/*!40000 ALTER TABLE `publisher` DISABLE KEYS */;
INSERT INTO `publisher` VALUES (1,'Amazon.','The book is published by Amazon');
/*!40000 ALTER TABLE `publisher` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `section`
--
DROP TABLE IF EXISTS `section`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `section` (
`section_id` int(11) NOT NULL AUTO_INCREMENT,
`name` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`nick_name` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`class_id` int(11) NOT NULL,
`teacher_id` int(11) NOT NULL,
PRIMARY KEY (`section_id`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `section`
--
LOCK TABLES `section` WRITE;
/*!40000 ALTER TABLE `section` DISABLE KEYS */;
INSERT INTO `section` VALUES (3,'First Term','Term 1',2,1),(4,'Second Term','2nd',2,1),(5,'abcd','aaa',2,2);
/*!40000 ALTER TABLE `section` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `settings`
--
DROP TABLE IF EXISTS `settings`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `settings` (
`settings_id` int(11) NOT NULL AUTO_INCREMENT,
`type` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`description` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
PRIMARY KEY (`settings_id`)
) ENGINE=MyISAM AUTO_INCREMENT=123 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `settings`
--
LOCK TABLES `settings` WRITE;
/*!40000 ALTER TABLE `settings` DISABLE KEYS */;
INSERT INTO `settings` VALUES (1,'system_name','Narayana clinic'),(2,'system_title','clinic'),(3,'address','#0090,JAYNAGAR BANGALORE5623000'),(4,'phone','999878790'),(6,'currency','INR'),(7,'system_email','narayanaslinic@gmail.com'),(11,'language','english'),(12,'text_align','left-to-right'),(16,'skin_colour','blue'),(21,'session','2019-2020'),(22,'footer','Developed by Bangaloreschool. All Right Reserved (2019)'),(116,'paypal_email','Bangaloreschool@gmail.com'),(119,'stripe_setting','[{\"stripe_active\":\"1\",\"testmode\":\"off\",\"secret_key\":\"test secret key\",\"public_key\":\"test public key\",\"secret_live_key\":\"live secret key\",\"public_live_key\":\"live public key\"}]'),(122,'paypal_setting','[{\"paypal_active\":\"1\",\"paypal_mode\":\"sandbox\",\"sandbox_client_id\":\"client id sandbox\",\"production_client_id\":\"client - production\"}]');
/*!40000 ALTER TABLE `settings` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `sms_settings`
--
DROP TABLE IF EXISTS `sms_settings`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `sms_settings` (
`sms_setting_id` int(11) NOT NULL AUTO_INCREMENT,
`type` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`info` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
PRIMARY KEY (`sms_setting_id`)
) ENGINE=MyISAM AUTO_INCREMENT=16 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `sms_settings`
--
LOCK TABLES `sms_settings` WRITE;
/*!40000 ALTER TABLE `sms_settings` DISABLE KEYS */;
INSERT INTO `sms_settings` VALUES (12,'msg91_sender_id','sender id'),(11,'msg91_authentication_key','msg91 auth key'),(10,'clickatell_apikey','clickattel api'),(9,'clickatell_password','clickattel paasword'),(8,'clickatell_username','clickattel username'),(13,'msg91_route','route'),(14,'msg91_country_code','country code'),(15,'active_sms_gateway','msg91');
/*!40000 ALTER TABLE `sms_settings` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `social_category`
--
DROP TABLE IF EXISTS `social_category`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `social_category` (
`social_category_id` int(11) NOT NULL AUTO_INCREMENT,
`name` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`colour` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`icon` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`description` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
PRIMARY KEY (`social_category_id`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `social_category`
--
LOCK TABLES `social_category` WRITE;
/*!40000 ALTER TABLE `social_category` DISABLE KEYS */;
INSERT INTO `social_category` VALUES (2,'Romance','danger','fa-male','This is for romance chat room'),(3,'Event','primary','fa-book','This is for event chat room');
/*!40000 ALTER TABLE `social_category` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `student`
--
DROP TABLE IF EXISTS `student`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `student` (
`student_id` int(11) NOT NULL AUTO_INCREMENT,
`name` longtext NOT NULL,
`birthday` longtext NOT NULL,
`age` longtext NOT NULL,
`place_birth` longtext NOT NULL,
`sex` longtext NOT NULL,
`m_tongue` longtext NOT NULL,
`religion` longtext NOT NULL,
`blood_group` longtext NOT NULL,
`address` longtext NOT NULL,
`city` longtext NOT NULL,
`state` longtext NOT NULL,
`nationality` longtext NOT NULL,
`phone` longtext NOT NULL,
`email` longtext NOT NULL,
`ps_attended` longtext NOT NULL,
`ps_address` longtext NOT NULL,
`ps_purpose` longtext NOT NULL,
`class_study` longtext NOT NULL,
`date_of_leaving` longtext NOT NULL,
`am_date` longtext NOT NULL,
`tran_cert` longtext NOT NULL,
`dob_cert` longtext NOT NULL,
`mark_join` longtext NOT NULL,
`physical_h` longtext NOT NULL,
`password` longtext NOT NULL,
`father_name` longtext NOT NULL,
`mother_name` longtext NOT NULL,
`class_id` longtext NOT NULL,
`section_id` int(11) NOT NULL,
`parent_id` int(11) NOT NULL,
`roll` longtext NOT NULL,
`transport_id` int(11) NOT NULL,
`dormitory_id` int(11) NOT NULL,
`house_id` int(11) NOT NULL,
`student_category_id` int(11) NOT NULL,
`club_id` int(11) NOT NULL,
`session` longtext NOT NULL,
`card_number` longtext NOT NULL,
`issue_date` longtext NOT NULL,
`expire_date` longtext NOT NULL,
`dormitory_room_number` longtext NOT NULL,
`more_entries` longtext NOT NULL,
`login_status` longtext NOT NULL,
PRIMARY KEY (`student_id`)
) ENGINE=InnoDB AUTO_INCREMENT=47 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `student`
--
LOCK TABLES `student` WRITE;
/*!40000 ALTER TABLE `student` DISABLE KEYS */;
INSERT INTO `student` VALUES (45,'Udemy Student II','09/30/2003','16','Lagos','female','Mother Tongue','Muslim','B+','Address','City','Lagos','Canadian','+912345667','student@student.com','Previous school attended','Previous school address','Purpose Of Leaving','Class In Which Was Studying','2011-08-10','2011-08-19','Yes','Yes','Yes','No','7110eda4d09e062aa5e4a390b0a572ac0d2c0220','','','2',3,4,'5bf8161',0,2,1,2,1,'2019-2020','','','','','','0'),(46,'abcd','08/17/2021','','bangalore','male','kanada','chirstian','o+','bangalore','bangalore','karnataka','Indian','999878790','admin@admin.com','av school','bangalore','mmmm','4','2011-08-06','2011-08-13','Yes','Yes','Yes','No','7110eda4d09e062aa5e4a390b0a572ac0d2c0220','','','2',4,6,'a953c92',0,2,1,2,1,'2019-2020','','','','','','');
/*!40000 ALTER TABLE `student` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `student_category`
--
DROP TABLE IF EXISTS `student_category`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `student_category` (
`student_category_id` int(11) NOT NULL AUTO_INCREMENT,
`name` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`description` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
PRIMARY KEY (`student_category_id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `student_category`
--
LOCK TABLES `student_category` WRITE;
/*!40000 ALTER TABLE `student_category` DISABLE KEYS */;
INSERT INTO `student_category` VALUES (2,'Boarding Student','This is for the boarding student.');
/*!40000 ALTER TABLE `student_category` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `subject`
--
DROP TABLE IF EXISTS `subject`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `subject` (
`subject_id` int(11) NOT NULL AUTO_INCREMENT,
`name` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`class_id` int(11) NOT NULL,
`teacher_id` int(11) NOT NULL,
PRIMARY KEY (`subject_id`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `subject`
--
LOCK TABLES `subject` WRITE;
/*!40000 ALTER TABLE `subject` DISABLE KEYS */;
INSERT INTO `subject` VALUES (5,'Economics',2,1),(4,'Mathematics',2,1);
/*!40000 ALTER TABLE `subject` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `teacher`
--
DROP TABLE IF EXISTS `teacher`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `teacher` (
`teacher_id` int(11) NOT NULL AUTO_INCREMENT,
`name` longtext NOT NULL,
`role` longtext NOT NULL,
`teacher_number` longtext NOT NULL,
`birthday` longtext NOT NULL,
`sex` longtext NOT NULL,
`religion` longtext NOT NULL,
`blood_group` longtext NOT NULL,
`address` longtext NOT NULL,
`phone` longtext NOT NULL,
`email` longtext NOT NULL,
`facebook` longtext NOT NULL,
`twitter` longtext NOT NULL,
`googleplus` longtext NOT NULL,
`linkedin` longtext NOT NULL,
`qualification` longtext NOT NULL,
`marital_status` longtext NOT NULL,
`file_name` longtext NOT NULL,
`password` longtext NOT NULL,
`department_id` int(11) NOT NULL,
`designation_id` int(11) NOT NULL,
`date_of_joining` longtext NOT NULL,
`joining_salary` longtext NOT NULL,
`status` int(11) NOT NULL,
`date_of_leaving` longtext NOT NULL,
`bank_id` int(11) NOT NULL,
`login_status` longtext NOT NULL,
PRIMARY KEY (`teacher_id`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `teacher`
--
LOCK TABLES `teacher` WRITE;
/*!40000 ALTER TABLE `teacher` DISABLE KEYS */;
INSERT INTO `teacher` VALUES (2,'abcd','1','39a2eb0','2018-08-19','female','','','bangalore','999878790','abc@gmail.com','','','','admin@admin.com','','Married','m1.png','7110eda4d09e062aa5e4a390b0a572ac0d2c0220',2,4,'0013-02-21','234000',1,'0230-03-12',5,''),(3,'hema','1','7b86806','2018-08-19','female','Hindu','o+','bangalore','999878790','admin@admin.com','','','','admin@admin.com','bcom','Married','m1.png','7110eda4d09e062aa5e4a390b0a572ac0d2c0220',2,4,'2020-03-06','120000',1,'2019-12-01',6,''),(4,'mouna','1','6824412','2018-08-19','female','Hindu','o+','bangalore','7878787','mouna@gmail.com','','','','admin@admin.com','bcom','Single','theme.txt','7110eda4d09e062aa5e4a390b0a572ac0d2c0220',2,5,'2012-02-02','34000',1,'2021-04-12',8,'0'),(5,'kiran','1','b8d9cce','2018-08-19','male','Hindu','o+','bangalore','232109','kiran@gmail.com','','','','admin@admin.com','bcom','Single','theme.txt','7110eda4d09e062aa5e4a390b0a572ac0d2c0220',2,5,'2012-02-12','290000',1,'2012-02-12',9,''),(6,'hema','1','0053bb4','2018-08-30','female','Hindu','o+','jaynagar','234543341','hema@gmail.com','','','','admin@admin.com','bca','Single','m1.png','7110eda4d09e062aa5e4a390b0a572ac0d2c0220',2,4,'2021-08-04','123000',1,'2021-08-04',10,'0'),(7,'Geetha','2','c24977a','2018-08-19','female','Hindu','o+','bangalore','908878090','geetha@gmail.com','','','','admin@admin.com','bca','Married','bckground5.jpg','7110eda4d09e062aa5e4a390b0a572ac0d2c0220',2,4,'2021-05-10','0101990',1,'2009-08-01',11,'0');
/*!40000 ALTER TABLE `teacher` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `transport`
--
DROP TABLE IF EXISTS `transport`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `transport` (
`transport_id` int(11) NOT NULL AUTO_INCREMENT,
`name` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`transport_route_id` int(11) NOT NULL,
`vehicle_id` int(11) NOT NULL,
`route_fare` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`description` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
PRIMARY KEY (`transport_id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `transport`
--
LOCK TABLES `transport` WRITE;
/*!40000 ALTER TABLE `transport` DISABLE KEYS */;
/*!40000 ALTER TABLE `transport` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `transport_route`
--
DROP TABLE IF EXISTS `transport_route`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `transport_route` (
`transport_route_id` int(11) NOT NULL AUTO_INCREMENT,
`name` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`description` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
PRIMARY KEY (`transport_route_id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `transport_route`
--
LOCK TABLES `transport_route` WRITE;
/*!40000 ALTER TABLE `transport_route` DISABLE KEYS */;
INSERT INTO `transport_route` VALUES (2,'Toronto to Usa','This is vehicle is going from Canada to Usa'),(3,'Lagos to Canada','This is going to Canada');
/*!40000 ALTER TABLE `transport_route` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `vacancy`
--
DROP TABLE IF EXISTS `vacancy`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `vacancy` (
`vacancy_id` int(11) NOT NULL AUTO_INCREMENT,
`name` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`number_of_vacancies` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`last_date` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
PRIMARY KEY (`vacancy_id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `vacancy`
--
LOCK TABLES `vacancy` WRITE;
/*!40000 ALTER TABLE `vacancy` DISABLE KEYS */;
INSERT INTO `vacancy` VALUES (3,'Position for class teachers','4','2019-12-21');
/*!40000 ALTER TABLE `vacancy` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `vehicle`
--
DROP TABLE IF EXISTS `vehicle`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `vehicle` (
`vehicle_id` int(11) NOT NULL AUTO_INCREMENT,
`name` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`vehicle_number` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`vehicle_model` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`vehicle_quantity` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`year_made` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`driver_name` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`driver_license` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`driver_contact` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`description` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`status` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
PRIMARY KEY (`vehicle_id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `vehicle`
--
LOCK TABLES `vehicle` WRITE;
/*!40000 ALTER TABLE `vehicle` DISABLE KEYS */;
INSERT INTO `vehicle` VALUES (2,'Toyota','423','Camry','2','2019','Udemy Sheg','License','Contact address here','description here','available');
/*!40000 ALTER TABLE `vehicle` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!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 */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2026-06-16 19:36:32