-- MySQL dump 10.13  Distrib 8.0.32, for Linux (x86_64)
--
-- Host: localhost    Database: db_premium_cms_sekolahku
-- ------------------------------------------------------
-- Server version	8.0.32-0buntu0.22.04.1

/*!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 */;
/*!50503 SET NAMES utf8mb4 */;
/*!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 `_sessions`
--

DROP TABLE IF EXISTS `_sessions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `_sessions` (
  `id` varchar(128) NOT NULL,
  `ip_address` varchar(45) NOT NULL,
  `timestamp` int unsigned NOT NULL DEFAULT '0',
  `data` blob NOT NULL,
  KEY `ci_sessions_timestamp` (`timestamp`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `_sessions`
--

LOCK TABLES `_sessions` WRITE;
/*!40000 ALTER TABLE `_sessions` DISABLE KEYS */;
/*!40000 ALTER TABLE `_sessions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `academic_years`
--

DROP TABLE IF EXISTS `academic_years`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `academic_years` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `academic_year` varchar(9) NOT NULL COMMENT 'Tahun Pelajaran',
  `semester` enum('odd','even') NOT NULL DEFAULT 'odd' COMMENT 'odd = Ganjil, even = Genap',
  `current_semester` enum('true','false') NOT NULL DEFAULT 'false',
  `admission_semester` enum('true','false') NOT NULL DEFAULT 'false',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `deleted_at` datetime DEFAULT NULL,
  `restored_at` datetime DEFAULT NULL,
  `created_by` bigint DEFAULT '0',
  `updated_by` bigint DEFAULT '0',
  `deleted_by` bigint DEFAULT '0',
  `restored_by` bigint DEFAULT '0',
  `is_deleted` enum('true','false') DEFAULT 'false',
  PRIMARY KEY (`id`),
  UNIQUE KEY `academic_year` (`academic_year`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `academic_years`
--

LOCK TABLES `academic_years` WRITE;
/*!40000 ALTER TABLE `academic_years` DISABLE KEYS */;
INSERT INTO `academic_years` VALUES (1,'2022-2023','odd','true','false','2023-01-29 03:50:23',NULL,NULL,NULL,0,0,0,0,'false'),(2,'2023-2024','odd','false','true','2023-01-29 03:50:23',NULL,NULL,NULL,0,0,0,0,'false');
/*!40000 ALTER TABLE `academic_years` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `achievements`
--

DROP TABLE IF EXISTS `achievements`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `achievements` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `student_id` bigint DEFAULT '0',
  `achievement_description` varchar(255) NOT NULL,
  `achievement_type` bigint DEFAULT '0',
  `achievement_level` smallint NOT NULL DEFAULT '0',
  `achievement_year` year NOT NULL,
  `achievement_organizer` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `deleted_at` datetime DEFAULT NULL,
  `restored_at` datetime DEFAULT NULL,
  `created_by` bigint DEFAULT '0',
  `updated_by` bigint DEFAULT '0',
  `deleted_by` bigint DEFAULT '0',
  `restored_by` bigint DEFAULT '0',
  `is_deleted` enum('true','false') DEFAULT 'false',
  PRIMARY KEY (`id`),
  KEY `achievements_student_id__idx` (`student_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `achievements`
--

LOCK TABLES `achievements` WRITE;
/*!40000 ALTER TABLE `achievements` DISABLE KEYS */;
/*!40000 ALTER TABLE `achievements` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `admission_exam_attendances`
--

DROP TABLE IF EXISTS `admission_exam_attendances`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `admission_exam_attendances` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `exam_schedule_id` bigint DEFAULT '0' COMMENT 'FK dari table admission_exam_schedules',
  `student_id` bigint DEFAULT '0' COMMENT 'FK Dari table students',
  `presence` enum('H','S','I','A') DEFAULT 'H',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `deleted_at` datetime DEFAULT NULL,
  `restored_at` datetime DEFAULT NULL,
  `created_by` bigint DEFAULT '0',
  `updated_by` bigint DEFAULT '0',
  `deleted_by` bigint DEFAULT '0',
  `restored_by` bigint DEFAULT '0',
  `is_deleted` enum('true','false') DEFAULT 'false',
  PRIMARY KEY (`id`),
  UNIQUE KEY `__unique_key` (`exam_schedule_id`,`student_id`),
  KEY `admission_exam_attendances_exam_schedule_id__idx` (`exam_schedule_id`) USING BTREE,
  KEY `admission_exam_attendances_exam_student_id__idx` (`student_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `admission_exam_attendances`
--

LOCK TABLES `admission_exam_attendances` WRITE;
/*!40000 ALTER TABLE `admission_exam_attendances` DISABLE KEYS */;
/*!40000 ALTER TABLE `admission_exam_attendances` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `admission_exam_schedules`
--

DROP TABLE IF EXISTS `admission_exam_schedules`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `admission_exam_schedules` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `subject_setting_detail_id` bigint DEFAULT '0' COMMENT 'FK dari table admission_subject_setting_details',
  `room_id` bigint DEFAULT '0' COMMENT 'Ruangan',
  `exam_date` date DEFAULT NULL COMMENT 'Tanggal Pelaksanaan Ujian Saringan Masuk',
  `exam_start_time` time NOT NULL COMMENT 'Jam Mulai',
  `exam_end_time` time NOT NULL COMMENT 'Jam selesai',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `deleted_at` datetime DEFAULT NULL,
  `restored_at` datetime DEFAULT NULL,
  `created_by` bigint DEFAULT '0',
  `updated_by` bigint DEFAULT '0',
  `deleted_by` bigint DEFAULT '0',
  `restored_by` bigint DEFAULT '0',
  `is_deleted` enum('true','false') DEFAULT 'false',
  PRIMARY KEY (`id`),
  UNIQUE KEY `__unique_key` (`subject_setting_detail_id`,`room_id`,`exam_date`),
  KEY `admission_exam_schedules_subject_setting_detail_id__idx` (`subject_setting_detail_id`) USING BTREE,
  KEY `admission_exam_schedules_room_id__idx` (`room_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `admission_exam_schedules`
--

LOCK TABLES `admission_exam_schedules` WRITE;
/*!40000 ALTER TABLE `admission_exam_schedules` DISABLE KEYS */;
/*!40000 ALTER TABLE `admission_exam_schedules` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `admission_phases`
--

DROP TABLE IF EXISTS `admission_phases`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `admission_phases` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `academic_year_id` bigint DEFAULT '0' COMMENT 'Tahun Pelajaran',
  `phase_name` varchar(255) NOT NULL COMMENT 'Gelombang Pendaftaran',
  `phase_start_date` date DEFAULT NULL COMMENT 'Tanggal Mulai',
  `phase_end_date` date DEFAULT NULL COMMENT 'Tanggal Selesai',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `deleted_at` datetime DEFAULT NULL,
  `restored_at` datetime DEFAULT NULL,
  `created_by` bigint DEFAULT '0',
  `updated_by` bigint DEFAULT '0',
  `deleted_by` bigint DEFAULT '0',
  `restored_by` bigint DEFAULT '0',
  `is_deleted` enum('true','false') DEFAULT 'false',
  PRIMARY KEY (`id`),
  UNIQUE KEY `__unique_key` (`academic_year_id`,`phase_name`),
  KEY `admission_phases_academic_year_id__idx` (`academic_year_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `admission_phases`
--

LOCK TABLES `admission_phases` WRITE;
/*!40000 ALTER TABLE `admission_phases` DISABLE KEYS */;
INSERT INTO `admission_phases` VALUES (1,1,'Gelombang I','2023-01-01','2023-04-30','2023-01-29 03:50:23',NULL,NULL,NULL,0,0,0,0,'false'),(2,1,'Gelombang II','2023-05-01','2023-08-31','2023-01-29 03:50:23',NULL,NULL,NULL,0,0,0,0,'false'),(3,1,'Gelombang III','2023-09-01','2023-12-31','2023-01-29 03:50:23',NULL,NULL,NULL,0,0,0,0,'false');
/*!40000 ALTER TABLE `admission_phases` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `admission_quotas`
--

DROP TABLE IF EXISTS `admission_quotas`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `admission_quotas` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `academic_year_id` bigint DEFAULT '0' COMMENT 'Tahun Pelajaran',
  `admission_type_id` bigint DEFAULT '0' COMMENT 'Jenis Pendaftaran',
  `major_id` bigint DEFAULT '0' COMMENT 'Program Keahlian',
  `quota` smallint NOT NULL DEFAULT '0' COMMENT 'Kuota Penerimaan',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `deleted_at` datetime DEFAULT NULL,
  `restored_at` datetime DEFAULT NULL,
  `created_by` bigint DEFAULT '0',
  `updated_by` bigint DEFAULT '0',
  `deleted_by` bigint DEFAULT '0',
  `restored_by` bigint DEFAULT '0',
  `is_deleted` enum('true','false') DEFAULT 'false',
  PRIMARY KEY (`id`),
  UNIQUE KEY `__unique_key` (`academic_year_id`,`admission_type_id`,`major_id`),
  KEY `admission_quotas_academic_year_id__idx` (`academic_year_id`) USING BTREE,
  KEY `admission_quotas_admission_type_id__idx` (`admission_type_id`) USING BTREE,
  KEY `admission_quotas_major_id__idx` (`major_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `admission_quotas`
--

LOCK TABLES `admission_quotas` WRITE;
/*!40000 ALTER TABLE `admission_quotas` DISABLE KEYS */;
/*!40000 ALTER TABLE `admission_quotas` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `admission_subject_scores`
--

DROP TABLE IF EXISTS `admission_subject_scores`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `admission_subject_scores` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `subject_setting_detail_id` bigint DEFAULT '0',
  `student_id` bigint DEFAULT '0',
  `score` decimal(5,2) NOT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `deleted_at` datetime DEFAULT NULL,
  `restored_at` datetime DEFAULT NULL,
  `created_by` bigint DEFAULT '0',
  `updated_by` bigint DEFAULT '0',
  `deleted_by` bigint DEFAULT '0',
  `restored_by` bigint DEFAULT '0',
  `is_deleted` enum('true','false') DEFAULT 'false',
  PRIMARY KEY (`id`),
  UNIQUE KEY `__unique_key` (`subject_setting_detail_id`,`student_id`),
  KEY `admission_subject_scores_subject_setting_detail_id__idx` (`subject_setting_detail_id`) USING BTREE,
  KEY `admission_subject_scores_student_id__idx` (`student_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `admission_subject_scores`
--

LOCK TABLES `admission_subject_scores` WRITE;
/*!40000 ALTER TABLE `admission_subject_scores` DISABLE KEYS */;
/*!40000 ALTER TABLE `admission_subject_scores` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `admission_subject_setting_details`
--

DROP TABLE IF EXISTS `admission_subject_setting_details`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `admission_subject_setting_details` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `subject_setting_id` bigint DEFAULT '0',
  `subject_id` bigint DEFAULT '0',
  `visibility` enum('public','private') DEFAULT NULL COMMENT 'Tampil di Form PPDB ? public = tampil, private = hanya dari administrator',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `deleted_at` datetime DEFAULT NULL,
  `restored_at` datetime DEFAULT NULL,
  `created_by` bigint DEFAULT '0',
  `updated_by` bigint DEFAULT '0',
  `deleted_by` bigint DEFAULT '0',
  `restored_by` bigint DEFAULT '0',
  `is_deleted` enum('true','false') DEFAULT 'false',
  PRIMARY KEY (`id`),
  UNIQUE KEY `__unique_key` (`subject_setting_id`,`subject_id`),
  KEY `admission_subject_setting_details_subject_setting_id__idx` (`subject_setting_id`) USING BTREE,
  KEY `admission_subject_setting_details_subject_id__idx` (`subject_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `admission_subject_setting_details`
--

LOCK TABLES `admission_subject_setting_details` WRITE;
/*!40000 ALTER TABLE `admission_subject_setting_details` DISABLE KEYS */;
/*!40000 ALTER TABLE `admission_subject_setting_details` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `admission_subject_settings`
--

DROP TABLE IF EXISTS `admission_subject_settings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `admission_subject_settings` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `academic_year_id` bigint DEFAULT '0',
  `admission_type_id` bigint DEFAULT '0',
  `major_id` bigint DEFAULT '0' COMMENT 'Program Keahlian',
  `subject_type` enum('exam_schedule','semester_report','national_exam') DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `deleted_at` datetime DEFAULT NULL,
  `restored_at` datetime DEFAULT NULL,
  `created_by` bigint DEFAULT '0',
  `updated_by` bigint DEFAULT '0',
  `deleted_by` bigint DEFAULT '0',
  `restored_by` bigint DEFAULT '0',
  `is_deleted` enum('true','false') DEFAULT 'false',
  PRIMARY KEY (`id`),
  UNIQUE KEY `__unique_key` (`academic_year_id`,`admission_type_id`,`major_id`,`subject_type`),
  KEY `admission_subject_settings_academic_year_id__idx` (`academic_year_id`) USING BTREE,
  KEY `admission_subject_settings_admission_type_id__idx` (`admission_type_id`) USING BTREE,
  KEY `admission_subject_settings_major_id__idx` (`major_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `admission_subject_settings`
--

LOCK TABLES `admission_subject_settings` WRITE;
/*!40000 ALTER TABLE `admission_subject_settings` DISABLE KEYS */;
/*!40000 ALTER TABLE `admission_subject_settings` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `albums`
--

DROP TABLE IF EXISTS `albums`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `albums` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `album_title` varchar(255) NOT NULL,
  `album_description` varchar(255) DEFAULT NULL,
  `album_slug` varchar(255) DEFAULT NULL,
  `album_cover` varchar(100) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `deleted_at` datetime DEFAULT NULL,
  `restored_at` datetime DEFAULT NULL,
  `created_by` bigint DEFAULT '0',
  `updated_by` bigint DEFAULT '0',
  `deleted_by` bigint DEFAULT '0',
  `restored_by` bigint DEFAULT '0',
  `is_deleted` enum('true','false') DEFAULT 'false',
  PRIMARY KEY (`id`),
  UNIQUE KEY `album_title` (`album_title`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `albums`
--

LOCK TABLES `albums` WRITE;
/*!40000 ALTER TABLE `albums` DISABLE KEYS */;
/*!40000 ALTER TABLE `albums` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `answers`
--

DROP TABLE IF EXISTS `answers`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `answers` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `question_id` bigint DEFAULT '0',
  `answer` varchar(255) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `deleted_at` datetime DEFAULT NULL,
  `restored_at` datetime DEFAULT NULL,
  `created_by` bigint DEFAULT '0',
  `updated_by` bigint DEFAULT '0',
  `deleted_by` bigint DEFAULT '0',
  `restored_by` bigint DEFAULT '0',
  `is_deleted` enum('true','false') DEFAULT 'false',
  PRIMARY KEY (`id`),
  UNIQUE KEY `__unique_key` (`question_id`,`answer`),
  KEY `answers_question_id__idx` (`question_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `answers`
--

LOCK TABLES `answers` WRITE;
/*!40000 ALTER TABLE `answers` DISABLE KEYS */;
/*!40000 ALTER TABLE `answers` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `categories`
--

DROP TABLE IF EXISTS `categories`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `categories` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `category_name` varchar(255) NOT NULL,
  `category_slug` varchar(255) DEFAULT NULL,
  `category_description` varchar(255) DEFAULT NULL,
  `category_type` enum('post','file') DEFAULT 'post',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `deleted_at` datetime DEFAULT NULL,
  `restored_at` datetime DEFAULT NULL,
  `created_by` bigint DEFAULT '0',
  `updated_by` bigint DEFAULT '0',
  `deleted_by` bigint DEFAULT '0',
  `restored_by` bigint DEFAULT '0',
  `is_deleted` enum('true','false') DEFAULT 'false',
  PRIMARY KEY (`id`),
  UNIQUE KEY `__unique_key` (`category_name`,`category_type`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `categories`
--

LOCK TABLES `categories` WRITE;
/*!40000 ALTER TABLE `categories` DISABLE KEYS */;
INSERT INTO `categories` VALUES (1,'Berita','berita','Berita','post','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(2,'Tutorial','tutorial','Tutorial','file','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false');
/*!40000 ALTER TABLE `categories` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `class_group_settings`
--

DROP TABLE IF EXISTS `class_group_settings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `class_group_settings` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `academic_year_id` bigint DEFAULT '0' COMMENT 'FK dari academic_years',
  `class_group_id` bigint DEFAULT '0' COMMENT 'Kelas, FK dari class_groups',
  `employee_id` bigint DEFAULT '0' COMMENT 'Wali Kelas, FK dari employees',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `deleted_at` datetime DEFAULT NULL,
  `restored_at` datetime DEFAULT NULL,
  `created_by` bigint DEFAULT '0',
  `updated_by` bigint DEFAULT '0',
  `deleted_by` bigint DEFAULT '0',
  `restored_by` bigint DEFAULT '0',
  `is_deleted` enum('true','false') DEFAULT 'false',
  PRIMARY KEY (`id`),
  UNIQUE KEY `__unique_key` (`academic_year_id`,`class_group_id`),
  KEY `class_group_settings_academic_year_id__idx` (`academic_year_id`) USING BTREE,
  KEY `class_group_settings_class_group_id__idx` (`class_group_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `class_group_settings`
--

LOCK TABLES `class_group_settings` WRITE;
/*!40000 ALTER TABLE `class_group_settings` DISABLE KEYS */;
/*!40000 ALTER TABLE `class_group_settings` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `class_group_students`
--

DROP TABLE IF EXISTS `class_group_students`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `class_group_students` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `class_group_setting_id` bigint DEFAULT '0',
  `student_id` bigint DEFAULT '0',
  `is_class_manager` enum('true','false') NOT NULL DEFAULT 'false' COMMENT 'Ketua Kelas?',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `deleted_at` datetime DEFAULT NULL,
  `restored_at` datetime DEFAULT NULL,
  `created_by` bigint DEFAULT '0',
  `updated_by` bigint DEFAULT '0',
  `deleted_by` bigint DEFAULT '0',
  `restored_by` bigint DEFAULT '0',
  `is_deleted` enum('true','false') DEFAULT 'false',
  PRIMARY KEY (`id`),
  UNIQUE KEY `__unique_key` (`class_group_setting_id`,`student_id`),
  KEY `class_group_students_class_group_setting_id__idx` (`class_group_setting_id`) USING BTREE,
  KEY `class_group_students_student_id__idx` (`student_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `class_group_students`
--

LOCK TABLES `class_group_students` WRITE;
/*!40000 ALTER TABLE `class_group_students` DISABLE KEYS */;
/*!40000 ALTER TABLE `class_group_students` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `class_groups`
--

DROP TABLE IF EXISTS `class_groups`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `class_groups` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `class_group` varchar(100) DEFAULT NULL,
  `sub_class_group` varchar(100) DEFAULT NULL,
  `major_id` bigint DEFAULT '0' COMMENT 'Program Keahlian',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `deleted_at` datetime DEFAULT NULL,
  `restored_at` datetime DEFAULT NULL,
  `created_by` bigint DEFAULT '0',
  `updated_by` bigint DEFAULT '0',
  `deleted_by` bigint DEFAULT '0',
  `restored_by` bigint DEFAULT '0',
  `is_deleted` enum('true','false') DEFAULT 'false',
  PRIMARY KEY (`id`),
  UNIQUE KEY `__unique_key` (`class_group`,`sub_class_group`,`major_id`),
  KEY `class_groups_major_id__idx` (`major_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `class_groups`
--

LOCK TABLES `class_groups` WRITE;
/*!40000 ALTER TABLE `class_groups` DISABLE KEYS */;
INSERT INTO `class_groups` VALUES (1,'X','1',1,'2023-01-29 03:50:23',NULL,NULL,NULL,0,0,0,0,'false'),(2,'X','2',1,'2023-01-29 03:50:23',NULL,NULL,NULL,0,0,0,0,'false'),(3,'X','3',1,'2023-01-29 03:50:23',NULL,NULL,NULL,0,0,0,0,'false');
/*!40000 ALTER TABLE `class_groups` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `class_meetings`
--

DROP TABLE IF EXISTS `class_meetings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `class_meetings` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `course_class_id` bigint DEFAULT '0',
  `date` date NOT NULL,
  `start_time` time NOT NULL DEFAULT '00:00:00',
  `end_time` time NOT NULL DEFAULT '00:00:00',
  `discussion` varchar(255) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `deleted_at` datetime DEFAULT NULL,
  `restored_at` datetime DEFAULT NULL,
  `created_by` bigint DEFAULT '0',
  `updated_by` bigint DEFAULT '0',
  `deleted_by` bigint DEFAULT '0',
  `restored_by` bigint DEFAULT '0',
  `is_deleted` enum('true','false') DEFAULT 'false',
  PRIMARY KEY (`id`),
  KEY `class_meetings_course_class_id__idx` (`course_class_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `class_meetings`
--

LOCK TABLES `class_meetings` WRITE;
/*!40000 ALTER TABLE `class_meetings` DISABLE KEYS */;
/*!40000 ALTER TABLE `class_meetings` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comments`
--

DROP TABLE IF EXISTS `comments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `comments` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `comment_post_id` bigint DEFAULT '0',
  `comment_author` varchar(255) NOT NULL,
  `comment_email` varchar(255) DEFAULT NULL,
  `comment_url` varchar(255) DEFAULT NULL,
  `comment_ip_address` varchar(255) NOT NULL,
  `comment_content` text NOT NULL,
  `comment_subject` varchar(255) DEFAULT NULL,
  `comment_reply` text,
  `comment_status` enum('approved','unapproved','spam') DEFAULT 'approved',
  `comment_agent` varchar(255) DEFAULT NULL,
  `comment_parent_id` varchar(255) DEFAULT NULL,
  `comment_type` enum('post','message') DEFAULT 'post',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `deleted_at` datetime DEFAULT NULL,
  `restored_at` datetime DEFAULT NULL,
  `created_by` bigint DEFAULT '0',
  `updated_by` bigint DEFAULT '0',
  `deleted_by` bigint DEFAULT '0',
  `restored_by` bigint DEFAULT '0',
  `is_deleted` enum('true','false') DEFAULT 'false',
  PRIMARY KEY (`id`),
  KEY `comments_comment_post_id__idx` (`comment_post_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comments`
--

LOCK TABLES `comments` WRITE;
/*!40000 ALTER TABLE `comments` DISABLE KEYS */;
/*!40000 ALTER TABLE `comments` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `course_classes`
--

DROP TABLE IF EXISTS `course_classes`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `course_classes` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `academic_year_id` bigint DEFAULT '0',
  `semester` enum('odd','even') NOT NULL DEFAULT 'odd' COMMENT 'odd = Ganjil, even = Genap',
  `class_group_id` bigint DEFAULT '0',
  `subject_id` bigint DEFAULT '0',
  `employee_id` bigint DEFAULT '0',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `deleted_at` datetime DEFAULT NULL,
  `restored_at` datetime DEFAULT NULL,
  `created_by` bigint DEFAULT '0',
  `updated_by` bigint DEFAULT '0',
  `deleted_by` bigint DEFAULT '0',
  `restored_by` bigint DEFAULT '0',
  `is_deleted` enum('true','false') DEFAULT 'false',
  PRIMARY KEY (`id`),
  UNIQUE KEY `__unique_key` (`academic_year_id`,`semester`,`class_group_id`,`subject_id`),
  KEY `course_classes_academic_year_id__idx` (`academic_year_id`) USING BTREE,
  KEY `course_classes_class_group_id__idx` (`class_group_id`) USING BTREE,
  KEY `course_classes_subject_id__idx` (`subject_id`) USING BTREE,
  KEY `course_classes_employee_id__idx` (`employee_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `course_classes`
--

LOCK TABLES `course_classes` WRITE;
/*!40000 ALTER TABLE `course_classes` DISABLE KEYS */;
/*!40000 ALTER TABLE `course_classes` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `field_settings`
--

DROP TABLE IF EXISTS `field_settings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `field_settings` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `field_name` varchar(100) DEFAULT NULL,
  `field_description` varchar(255) DEFAULT NULL,
  `field_setting` text,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `deleted_at` datetime DEFAULT NULL,
  `restored_at` datetime DEFAULT NULL,
  `created_by` bigint DEFAULT '0',
  `updated_by` bigint DEFAULT '0',
  `deleted_by` bigint DEFAULT '0',
  `restored_by` bigint DEFAULT '0',
  `is_deleted` enum('true','false') DEFAULT 'false',
  PRIMARY KEY (`id`),
  UNIQUE KEY `field_name` (`field_name`)
) ENGINE=InnoDB AUTO_INCREMENT=79 DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `field_settings`
--

LOCK TABLES `field_settings` WRITE;
/*!40000 ALTER TABLE `field_settings` DISABLE KEYS */;
INSERT INTO `field_settings` VALUES (1,'is_transfer','Jenis Pendaftaran','{\"admission\":\"true\", \"admission_required\":\"true\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(2,'admission_type_id','Jalur Pendaftaran','{\"admission\":\"true\", \"admission_required\":\"true\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(3,'first_choice_id','Pilihan Ke-1','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(4,'second_choice_id','Pilihan Ke-2','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(5,'nik','NIK/ No. KITAS (Untuk WNA)','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(6,'prev_school_name','Sekolah Asal','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(7,'prev_exam_number','Nomor Peserta UN SMP/MTs','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(8,'skhun','Nomor SKHUN SMP/MTs','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(9,'prev_diploma_number','Nomor Seri Ijazah SMP/MTs','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(10,'full_name','Nama Lengkap','{\"admission\":\"true\", \"admission_required\":\"true\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(11,'gender','Jenis Kelamin','{\"admission\":\"true\", \"admission_required\":\"true\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(12,'nisn','NISN','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(13,'family_card_number','Nomor Kartu Keluarga','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(14,'birth_place','Tempat Lahir','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(15,'birth_date','Tanggal Lahir','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(16,'birth_certificate_number','Nomor Registasi Akta Lahir','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(17,'religion_id','Agama dan Kepercayaan','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(18,'citizenship','Kewarganegaraan','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(19,'country','Nama Negara','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(20,'special_need_id','Berkebutuhan Khusus','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(21,'street_address','Alamat Jalan','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(22,'rt','RT','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(23,'rw','RW','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(24,'sub_village','Nama Dusun','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(25,'village','Nama Kelurahan/Desa','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(26,'sub_district','Kecamatan','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(27,'district','Kabupaten','{\"admission\":\"true\", \"admission_required\":\"true\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(28,'postal_code','Kode POS','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(29,'latitude','Lintang','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(30,'longitude','Bujur','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(31,'residence_id','Tempat Tinggal','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(32,'transportation_id','Moda Transportasi','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(33,'child_number','Anak Keberapa','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(34,'employment_id','Pekerjaan (diperuntukan untuk warga belajar)','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(35,'have_kip','Apakah Punya KIP','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(36,'receive_kip','Apakah Peserta Didik Tersebut Tetap Akan Menerima KIP','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(37,'reject_pip','Alasan Menolak PIP','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(38,'father_name','Nama Ayah Kandung','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(39,'father_nik','NIK Ayah','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(40,'father_birth_place','Tempat Lahir Ayah','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(41,'father_birth_date','Tanggal Lahir Ayah','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(42,'father_education_id','Pendidikan Ayah','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(43,'father_employment_id','Pekerjaan Ayah','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(44,'father_monthly_income_id','Penghasilan Bulanan Ayah','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(45,'father_special_need_id','Kebutuhan Khusus Ayah','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(46,'father_identity_card','Upload KTP Ayah','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(47,'mother_name','Nama Ibu Kandung','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(48,'mother_nik','NIK Ibu','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(49,'mother_birth_place','Tempat Lahir Ibu','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(50,'mother_birth_date','Tanggal Lahir Ibu','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(51,'mother_education_id','Pendidikan Ibu','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(52,'mother_employment_id','Pekerjaan Ibu','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(53,'mother_monthly_income_id','Penghasilan Bulanan Ibu','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(54,'mother_special_need_id','Kebutuhan Khusus Ibu','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(55,'mother_identity_card','Upload KTP Ibu','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(56,'guardian_name','Nama Wali','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(57,'guardian_nik','NIK Wali','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(58,'guardian_birth_date','Tanggal Lahir Wali','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(59,'guardian_birth_place','Tempat Lahir Wali','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(60,'guardian_education_id','Pendidikan Wali','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(61,'guardian_employment_id','Pekerjaan Wali','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(62,'guardian_monthly_income_id','Penghasilan Bulanan Wali','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(63,'guardian_identity_card','Upload KTP Wali','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(64,'phone','Nomor Telepon Rumah','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(65,'mobile_phone','Nomor HP','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(66,'email','Email','{\"admission\":\"true\", \"admission_required\":\"true\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(67,'height','Tinggi Badan','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(68,'weight','Berat Badan','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(69,'head_circumference','Lingkar Kepala','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(70,'mileage','Jarak Tempat Tinggal ke Sekolah','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(71,'traveling_time','Waktu Tempuh ke Sekolah (Menit)','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(72,'sibling_number','Jumlah Saudara Kandung','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(73,'welfare_type','Jenis Kesejahteraan','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(74,'welfare_number','Nomor Kartu Kesejahteraan','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(75,'welfare_name','Nama di Kartu Kesejahteraan','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(76,'photo','Unggah Pas Foto','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(77,'family_card','Unggah Kartu Keluarga','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(78,'birth_certificate','Unggah Akta Lahir','{\"admission\":\"false\", \"admission_required\":\"false\"}','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false');
/*!40000 ALTER TABLE `field_settings` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `files`
--

DROP TABLE IF EXISTS `files`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `files` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `file_title` varchar(255) DEFAULT NULL,
  `file_description` varchar(255) DEFAULT NULL,
  `file_name` varchar(255) DEFAULT NULL,
  `file_type` varchar(255) DEFAULT NULL,
  `file_category_id` bigint DEFAULT '0',
  `file_path` varchar(255) DEFAULT NULL,
  `file_ext` varchar(255) DEFAULT NULL,
  `file_size` varchar(255) DEFAULT NULL,
  `file_visibility` enum('public','private') DEFAULT 'public',
  `file_counter` bigint DEFAULT '0',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `deleted_at` datetime DEFAULT NULL,
  `restored_at` datetime DEFAULT NULL,
  `created_by` bigint DEFAULT '0',
  `updated_by` bigint DEFAULT '0',
  `deleted_by` bigint DEFAULT '0',
  `restored_by` bigint DEFAULT '0',
  `is_deleted` enum('true','false') DEFAULT 'false',
  PRIMARY KEY (`id`),
  KEY `files_file_category_id__idx` (`file_category_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `files`
--

LOCK TABLES `files` WRITE;
/*!40000 ALTER TABLE `files` DISABLE KEYS */;
/*!40000 ALTER TABLE `files` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `image_sliders`
--

DROP TABLE IF EXISTS `image_sliders`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `image_sliders` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `caption` varchar(255) NOT NULL,
  `image` varchar(255) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `deleted_at` datetime DEFAULT NULL,
  `restored_at` datetime DEFAULT NULL,
  `created_by` bigint DEFAULT '0',
  `updated_by` bigint DEFAULT '0',
  `deleted_by` bigint DEFAULT '0',
  `restored_by` bigint DEFAULT '0',
  `is_deleted` enum('true','false') DEFAULT 'false',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `image_sliders`
--

LOCK TABLES `image_sliders` WRITE;
/*!40000 ALTER TABLE `image_sliders` DISABLE KEYS */;
INSERT INTO `image_sliders` VALUES (1,'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua','900x400.png','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(2,'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua','900x400.png','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false');
/*!40000 ALTER TABLE `image_sliders` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `links`
--

DROP TABLE IF EXISTS `links`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `links` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `link_title` varchar(255) NOT NULL,
  `link_url` varchar(255) DEFAULT NULL,
  `link_target` enum('_blank','_self','_parent','_top') DEFAULT '_blank',
  `link_image` varchar(100) DEFAULT NULL,
  `link_type` enum('link','banner') DEFAULT 'link',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `deleted_at` datetime DEFAULT NULL,
  `restored_at` datetime DEFAULT NULL,
  `created_by` bigint DEFAULT '0',
  `updated_by` bigint DEFAULT '0',
  `deleted_by` bigint DEFAULT '0',
  `restored_by` bigint DEFAULT '0',
  `is_deleted` enum('true','false') DEFAULT 'false',
  PRIMARY KEY (`id`),
  UNIQUE KEY `__unique_key` (`link_url`,`link_type`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `links`
--

LOCK TABLES `links` WRITE;
/*!40000 ALTER TABLE `links` DISABLE KEYS */;
INSERT INTO `links` VALUES (1,'CMS Sekolahku','https://sekolahku.web.id','_blank',NULL,'link','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(2,'CMS Sekolahku','https://sekolahku.web.id','_blank','1.png','banner','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false');
/*!40000 ALTER TABLE `links` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `login_attempts`
--

DROP TABLE IF EXISTS `login_attempts`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `login_attempts` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `ip_address` varchar(45) NOT NULL,
  `counter` int unsigned NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `deleted_at` datetime DEFAULT NULL,
  `restored_at` datetime DEFAULT NULL,
  `created_by` bigint DEFAULT '0',
  `updated_by` bigint DEFAULT '0',
  `deleted_by` bigint DEFAULT '0',
  `restored_by` bigint DEFAULT '0',
  `is_deleted` enum('true','false') DEFAULT 'false',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `login_attempts`
--

LOCK TABLES `login_attempts` WRITE;
/*!40000 ALTER TABLE `login_attempts` DISABLE KEYS */;
/*!40000 ALTER TABLE `login_attempts` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `majors`
--

DROP TABLE IF EXISTS `majors`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `majors` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `major_name` varchar(255) DEFAULT NULL COMMENT 'Program Keahlian / Jurusan',
  `major_short_name` varchar(255) DEFAULT NULL COMMENT 'Nama Singkat',
  `is_active` enum('true','false') DEFAULT 'true',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `deleted_at` datetime DEFAULT NULL,
  `restored_at` datetime DEFAULT NULL,
  `created_by` bigint DEFAULT '0',
  `updated_by` bigint DEFAULT '0',
  `deleted_by` bigint DEFAULT '0',
  `restored_by` bigint DEFAULT '0',
  `is_deleted` enum('true','false') DEFAULT 'false',
  PRIMARY KEY (`id`),
  UNIQUE KEY `major_name` (`major_name`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `majors`
--

LOCK TABLES `majors` WRITE;
/*!40000 ALTER TABLE `majors` DISABLE KEYS */;
INSERT INTO `majors` VALUES (1,'Teknik Komputer dan Jaringan','TKJ','true','2023-01-29 03:50:23',NULL,NULL,NULL,0,0,0,0,'false'),(2,'Teknik Kendaraan Ringan','TKR','true','2023-01-29 03:50:23',NULL,NULL,NULL,0,0,0,0,'false'),(3,'Komputerisasi Akuntansi','KA','true','2023-01-29 03:50:23',NULL,NULL,NULL,0,0,0,0,'false');
/*!40000 ALTER TABLE `majors` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `meeting_attendences`
--

DROP TABLE IF EXISTS `meeting_attendences`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `meeting_attendences` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `class_meeting_id` bigint DEFAULT '0',
  `student_id` bigint DEFAULT '0',
  `presence` enum('present','sick','absent','permit') DEFAULT 'present',
  `note` varchar(255) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `deleted_at` datetime DEFAULT NULL,
  `restored_at` datetime DEFAULT NULL,
  `created_by` bigint DEFAULT '0',
  `updated_by` bigint DEFAULT '0',
  `deleted_by` bigint DEFAULT '0',
  `restored_by` bigint DEFAULT '0',
  `is_deleted` enum('true','false') DEFAULT 'false',
  PRIMARY KEY (`id`),
  UNIQUE KEY `__unique_key` (`class_meeting_id`,`student_id`),
  KEY `meeting_attendences_class_meeting_id__idx` (`class_meeting_id`) USING BTREE,
  KEY `meeting_attendences_student_id__idx` (`student_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `meeting_attendences`
--

LOCK TABLES `meeting_attendences` WRITE;
/*!40000 ALTER TABLE `meeting_attendences` DISABLE KEYS */;
/*!40000 ALTER TABLE `meeting_attendences` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `menus`
--

DROP TABLE IF EXISTS `menus`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `menus` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `menu_title` varchar(150) NOT NULL,
  `menu_url` varchar(150) NOT NULL,
  `menu_target` enum('_blank','_self','_parent','_top') DEFAULT '_self',
  `menu_type` varchar(100) NOT NULL DEFAULT 'pages',
  `menu_parent_id` bigint DEFAULT '0',
  `menu_position` bigint DEFAULT '0',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `deleted_at` datetime DEFAULT NULL,
  `restored_at` datetime DEFAULT NULL,
  `created_by` bigint DEFAULT '0',
  `updated_by` bigint DEFAULT '0',
  `deleted_by` bigint DEFAULT '0',
  `restored_by` bigint DEFAULT '0',
  `is_deleted` enum('true','false') DEFAULT 'false',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `menus`
--

LOCK TABLES `menus` WRITE;
/*!40000 ALTER TABLE `menus` DISABLE KEYS */;
INSERT INTO `menus` VALUES (1,'Profil','read/2/profil','_self','pages',0,1,'2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(2,'Visi dan Misi','read/3/visi-dan-misi','_self','pages',0,2,'2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(3,'Kategori','#','_self','links',0,3,'2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(4,'Direktori','#','_self','links',0,4,'2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(5,'Pendaftaran Alumni','pendaftaran-alumni','_self','modules',0,5,'2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(6,'PPDB 2024','#','_self','links',0,6,'2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(7,'Galeri','#','_self','links',0,7,'2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(8,'Hubungi Kami','hubungi-kami','_self','modules',0,8,'2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(9,'Galeri Foto','galeri-foto','_self','modules',7,1,'2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(10,'Galeri Video','galeri-video','_self','modules',7,2,'2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(11,'Daftar Sekarang','formulir-penerimaan-peserta-didik-baru','_self','modules',6,1,'2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(12,'Hasil Seleksi','hasil-seleksi-penerimaan-peserta-didik-baru','_self','modules',6,2,'2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(13,'Cetak Formulir Pendaftaran','cetak-formulir-penerimaan-peserta-didik-baru','_self','modules',6,3,'2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(14,'Cetak Kartu Ujian','cetak-kartu-peserta-ujian-seleksi-penerimaan-peserta-didik-baru','_self','modules',6,4,'2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(15,'Berita','kategori/berita','','post_categories',3,1,'2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(16,'Direktori Alumni','direktori-alumni','_self','modules',4,1,'2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(17,'Direktori Guru dan Tenaga Kependidikan','direktori-guru-dan-tenaga-kependidikan','_self','modules',4,2,'2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(18,'Direktori Peserta Didik','direktori-peserta-didik','_self','modules',4,3,'2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false');
/*!40000 ALTER TABLE `menus` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `modules`
--

DROP TABLE IF EXISTS `modules`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `modules` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `module_name` varchar(255) NOT NULL,
  `module_description` varchar(255) DEFAULT NULL,
  `module_url` varchar(255) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `deleted_at` datetime DEFAULT NULL,
  `restored_at` datetime DEFAULT NULL,
  `created_by` bigint DEFAULT '0',
  `updated_by` bigint DEFAULT '0',
  `deleted_by` bigint DEFAULT '0',
  `restored_by` bigint DEFAULT '0',
  `is_deleted` enum('true','false') DEFAULT 'false',
  PRIMARY KEY (`id`),
  UNIQUE KEY `module_name` (`module_name`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `modules`
--

LOCK TABLES `modules` WRITE;
/*!40000 ALTER TABLE `modules` DISABLE KEYS */;
INSERT INTO `modules` VALUES (1,'Pengguna','Pengguna','users','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(2,'Akademik','Akademik','academic','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(3,'PPDB','PPDB','admission','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(4,'Tampilan','Tampilan','appearance','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(5,'Blog','Blog','blog','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(6,'Guru dan Tenaga Kependidikan','Guru dan Tenaga Kependidikan','employees','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(7,'Media','Media','media','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(8,'Plugins','Plugins','plugins','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(9,'Data Induk','Data Induk','reference','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(10,'Pengaturan','Pengaturan','settings','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false');
/*!40000 ALTER TABLE `modules` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `options`
--

DROP TABLE IF EXISTS `options`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `options` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `option_group` varchar(100) NOT NULL,
  `option_name` varchar(255) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `deleted_at` datetime DEFAULT NULL,
  `restored_at` datetime DEFAULT NULL,
  `created_by` bigint DEFAULT '0',
  `updated_by` bigint DEFAULT '0',
  `deleted_by` bigint DEFAULT '0',
  `restored_by` bigint DEFAULT '0',
  `is_deleted` enum('true','false') DEFAULT 'false',
  PRIMARY KEY (`id`),
  UNIQUE KEY `__unique_key` (`option_group`,`option_name`),
  KEY `options_option_group__idx` (`option_group`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=176 DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `options`
--

LOCK TABLES `options` WRITE;
/*!40000 ALTER TABLE `options` DISABLE KEYS */;
INSERT INTO `options` VALUES (1,'student_status','Aktif','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(2,'student_status','Lulus','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(3,'student_status','Mutasi','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(4,'student_status','Dikeluarkan','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(5,'student_status','Mengundurkan Diri','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(6,'student_status','Putus Sekolah','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(7,'student_status','Meninggal','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(8,'student_status','Hilang','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(9,'student_status','Lainnya','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(10,'employment','Tidak bekerja','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(11,'employment','Nelayan','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(12,'employment','Petani','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(13,'employment','Peternak','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(14,'employment','PNS/TNI/POLRI','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(15,'employment','Karyawan Swasta','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(16,'employment','Pedagang Kecil','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(17,'employment','Pedagang Besar','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(18,'employment','Wiraswasta','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(19,'employment','Wirausaha','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(20,'employment','Buruh','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(21,'employment','Pensiunan','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(22,'employment','Lain-lain','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(23,'special_need','Tidak','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(24,'special_need','Tuna Netra','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(25,'special_need','Tuna Rungu','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(26,'special_need','Tuna Grahita ringan','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(27,'special_need','Tuna Grahita Sedang','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(28,'special_need','Tuna Daksa Ringan','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(29,'special_need','Tuna Daksa Sedang','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(30,'special_need','Tuna Laras','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(31,'special_need','Tuna Wicara','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(32,'special_need','Tuna ganda','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(33,'special_need','Hiper aktif','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(34,'special_need','Cerdas Istimewa','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(35,'special_need','Bakat Istimewa','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(36,'special_need','Kesulitan Belajar','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(37,'special_need','Narkoba','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(38,'special_need','Indigo','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(39,'special_need','Down Sindrome','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(40,'special_need','Autis','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(41,'special_need','Lainnya','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(42,'education','Tidak sekolah','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(43,'education','Putus SD','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(44,'education','SD Sederajat','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(45,'education','SMP Sederajat','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(46,'education','SMA Sederajat','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(47,'education','D1','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(48,'education','D2','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(49,'education','D3','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(50,'education','D4/S1','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(51,'education','S2','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(52,'education','S3','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(53,'scholarship','Anak berprestasi','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(54,'scholarship','Anak Miskin','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(55,'scholarship','Pendidikan','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(56,'scholarship','Unggulan','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(57,'scholarship','Lain-lain','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(58,'achievement_type','Sains','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(59,'achievement_type','Seni','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(60,'achievement_type','Olahraga','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(61,'achievement_type','Lain-lain','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(62,'achievement_level','Sekolah','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(63,'achievement_level','Kecamatan','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(64,'achievement_level','Kabupaten','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(65,'achievement_level','Propinsi','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(66,'achievement_level','Nasional','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(67,'achievement_level','Internasional','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(68,'monthly_income','Kurang dari Rp 1.000.000','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(69,'monthly_income','Rp 1.000.000 - Rp 2.000.000','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(70,'monthly_income','Lebih dari Rp 2.000.000','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(71,'monthly_income','Kurang dari Rp. 500,000','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(72,'monthly_income','Rp. 500,000 - Rp. 999,999','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(73,'monthly_income','Rp. 1,000,000 - Rp. 1,999,999','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(74,'monthly_income','Rp. 2,000,000 - Rp. 4,999,999','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(75,'monthly_income','Rp. 5,000,000 - Rp. 20,000,000','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(76,'monthly_income','Lebih dari Rp. 20,000,000','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(77,'monthly_income','Tidak Berpenghasilan','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(78,'monthly_income','Lainnya','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(79,'residence','Bersama orang tua','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(80,'residence','Wali','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(81,'residence','Kos','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(82,'residence','Asrama','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(83,'residence','Panti Asuhan','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(84,'residence','Lainnya','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(85,'transportation','Jalan kaki','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(86,'transportation','Kendaraan pribadi','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(87,'transportation','Kendaraan Umum / angkot / Pete-pete','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(88,'transportation','Jemputan Sekolah','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(89,'transportation','Kereta Api','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(90,'transportation','Ojek','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(91,'transportation','Andong / Bendi / Sado / Dokar / Delman / Beca','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(92,'transportation','Perahu penyebrangan / Rakit / Getek','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(93,'transportation','Lainnya','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(94,'religion','Islam','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(95,'religion','Kristen / Protestan','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(96,'religion','Katholik','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(97,'religion','Hindu','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(98,'religion','Budha','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(99,'religion','Khong Hu Chu','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(100,'religion','Lainnya','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(101,'school_level','1 - Sekolah Dasar (SD) / Sederajat','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(102,'school_level','2 - Sekolah Menengah Pertama (SMP) / Sederajat','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(103,'school_level','3 - Sekolah Menengah Atas (SMA) / Aliyah','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(104,'school_level','4 - Sekolah Menengah Kejuruan (SMK)','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(105,'marriage_status','Menikah','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(106,'marriage_status','Belum Menikah','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(107,'marriage_status','Berpisah','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(108,'institution_lifter','Pemerintah Pusat','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(109,'institution_lifter','Pemerintah Provinsi','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(110,'institution_lifter','Pemerintah Kab / Kota','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(111,'institution_lifter','Ketua Yayasan','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(112,'institution_lifter','Kepala Sekolah','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(113,'institution_lifter','Komite Sekolah','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(114,'institution_lifter','Lainnya','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(115,'employment_status','PNS','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(116,'employment_status','PNS Diperbantukan','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(117,'employment_status','PNS DEPAG','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(118,'employment_status','GTY / PTY','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(119,'employment_status','GTT / PTT Provinsi','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(120,'employment_status','GTT / PTT Kabupaten / Kota','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(121,'employment_status','Guru Bantu Pusat','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(122,'employment_status','Guru Honor Sekolah','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(123,'employment_status','Tenaga Honor Sekolah','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(124,'employment_status','CPNS','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(125,'employment_status','Lainnya','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(126,'employment_type','Guru Kelas','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(127,'employment_type','Guru Mata Pelajaran','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(128,'employment_type','Guru BK','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(129,'employment_type','Guru Inklusi','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(130,'employment_type','Tenaga Administrasi Sekolah','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(131,'employment_type','Guru Pendamping','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(132,'employment_type','Guru Magang','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(133,'employment_type','Guru TIK','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(134,'employment_type','Laboran','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(135,'employment_type','Pustakawan','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(136,'employment_type','Lainnya','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(137,'rank','I/A','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(138,'rank','I/B','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(139,'rank','I/C','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(140,'rank','I/D','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(141,'rank','II/A','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(142,'rank','II/B','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(143,'rank','II/C','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(144,'rank','II/D','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(145,'rank','III/A','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(146,'rank','III/B','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(147,'rank','III/C','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(148,'rank','III/D','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(149,'rank','IV/A','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(150,'rank','IV/B','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(151,'rank','IV/C','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(152,'rank','IV/D','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(153,'rank','IV/E','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(154,'salary_source','APBN','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(155,'salary_source','APBD Provinsi','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(156,'salary_source','APBD Kab / Kota','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(157,'salary_source','Yayasan','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(158,'salary_source','Sekolah','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(159,'salary_source','Lembaga Donor','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(160,'salary_source','Lainnya','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(161,'laboratory_skill','Lab IPA','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(162,'laboratory_skill','Lab Fisika','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(163,'laboratory_skill','Lab Biologi','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(164,'laboratory_skill','Lab Kimia','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(165,'laboratory_skill','Lab Bahasa','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(166,'laboratory_skill','Lab Komputer','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(167,'laboratory_skill','Teknik Bangunan','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(168,'laboratory_skill','Teknik Survei & Pemetaan','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(169,'laboratory_skill','Teknik Ketenagakerjaan','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(170,'laboratory_skill','Teknik Pendinginan & Tata Udara','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(171,'laboratory_skill','Teknik Mesin','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(172,'building','Gedung A','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(173,'building','Gedung B','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(174,'admission_type','Umum','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(175,'admission_type','Prestasi','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false');
/*!40000 ALTER TABLE `options` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `photos`
--

DROP TABLE IF EXISTS `photos`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `photos` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `photo_album_id` bigint DEFAULT '0',
  `photo_name` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `deleted_at` datetime DEFAULT NULL,
  `restored_at` datetime DEFAULT NULL,
  `created_by` bigint DEFAULT '0',
  `updated_by` bigint DEFAULT '0',
  `deleted_by` bigint DEFAULT '0',
  `restored_by` bigint DEFAULT '0',
  `is_deleted` enum('true','false') DEFAULT 'false',
  PRIMARY KEY (`id`),
  KEY `photos_photo_album_id__idx` (`photo_album_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `photos`
--

LOCK TABLES `photos` WRITE;
/*!40000 ALTER TABLE `photos` DISABLE KEYS */;
/*!40000 ALTER TABLE `photos` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `pollings`
--

DROP TABLE IF EXISTS `pollings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `pollings` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `answer_id` bigint DEFAULT '0',
  `ip_address` varchar(45) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `deleted_at` datetime DEFAULT NULL,
  `restored_at` datetime DEFAULT NULL,
  `created_by` bigint DEFAULT '0',
  `updated_by` bigint DEFAULT '0',
  `deleted_by` bigint DEFAULT '0',
  `restored_by` bigint DEFAULT '0',
  `is_deleted` enum('true','false') DEFAULT 'false',
  PRIMARY KEY (`id`),
  KEY `pollings_answer_id__idx` (`answer_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `pollings`
--

LOCK TABLES `pollings` WRITE;
/*!40000 ALTER TABLE `pollings` DISABLE KEYS */;
/*!40000 ALTER TABLE `pollings` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `posts`
--

DROP TABLE IF EXISTS `posts`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `posts` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `post_title` varchar(255) DEFAULT NULL,
  `post_content` longtext,
  `post_image` varchar(100) DEFAULT NULL,
  `post_author` bigint DEFAULT '0',
  `post_categories` varchar(255) DEFAULT NULL,
  `post_type` varchar(50) NOT NULL DEFAULT 'post',
  `post_status` enum('publish','draft') DEFAULT 'draft',
  `post_visibility` enum('public','private') DEFAULT 'public',
  `post_comment_status` enum('open','close') DEFAULT 'close',
  `post_slug` varchar(255) DEFAULT NULL,
  `post_tags` varchar(255) DEFAULT NULL,
  `post_counter` bigint DEFAULT '0',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `deleted_at` datetime DEFAULT NULL,
  `restored_at` datetime DEFAULT NULL,
  `created_by` bigint DEFAULT '0',
  `updated_by` bigint DEFAULT '0',
  `deleted_by` bigint DEFAULT '0',
  `restored_by` bigint DEFAULT '0',
  `is_deleted` enum('true','false') DEFAULT 'false',
  PRIMARY KEY (`id`),
  KEY `posts_post_author__idx` (`post_author`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `posts`
--

LOCK TABLES `posts` WRITE;
/*!40000 ALTER TABLE `posts` DISABLE KEYS */;
INSERT INTO `posts` VALUES (1,NULL,'<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat NULLa pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>',NULL,0,NULL,'opening_speech','','public','close',NULL,NULL,0,'2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(2,'Profil','<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>',NULL,1,'+1+','page','publish','public','open','profil','berita, pengumuman, sekilas-info',1,'2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(3,'Visi dan Misi','<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>',NULL,1,'+1+','page','publish','public','open','visi-dan-misi','berita, pengumuman, sekilas-info',1,'2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(4,'Sample Post 1','<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>','400x250.png',1,'+1+','post','publish','public','open','sample-post-1','berita, pengumuman, sekilas-info',5,'2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(5,'Sample Post 2','<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>','400x250.png',1,'+1+','post','publish','public','open','sample-post-2','berita, pengumuman, sekilas-info',1,'2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(6,'Sample Post 3','<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>','400x250.png',1,'+1+','post','publish','public','open','sample-post-3','berita, pengumuman, sekilas-info',1,'2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(7,'Sample Post 4','<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>','400x250.png',1,'+1+','post','publish','public','open','sample-post-4','berita, pengumuman, sekilas-info',1,'2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(8,'Sample Post 5','<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>','400x250.png',1,'+1+','post','publish','public','open','sample-post-5','berita, pengumuman, sekilas-info',1,'2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false');
/*!40000 ALTER TABLE `posts` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `questions`
--

DROP TABLE IF EXISTS `questions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `questions` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `question` varchar(255) DEFAULT NULL,
  `is_active` enum('true','false') DEFAULT 'false',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `deleted_at` datetime DEFAULT NULL,
  `restored_at` datetime DEFAULT NULL,
  `created_by` bigint DEFAULT '0',
  `updated_by` bigint DEFAULT '0',
  `deleted_by` bigint DEFAULT '0',
  `restored_by` bigint DEFAULT '0',
  `is_deleted` enum('true','false') DEFAULT 'false',
  PRIMARY KEY (`id`),
  UNIQUE KEY `question` (`question`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `questions`
--

LOCK TABLES `questions` WRITE;
/*!40000 ALTER TABLE `questions` DISABLE KEYS */;
/*!40000 ALTER TABLE `questions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `quotes`
--

DROP TABLE IF EXISTS `quotes`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `quotes` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `quote` varchar(255) DEFAULT NULL,
  `quote_by` varchar(255) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `deleted_at` datetime DEFAULT NULL,
  `restored_at` datetime DEFAULT NULL,
  `created_by` bigint DEFAULT '0',
  `updated_by` bigint DEFAULT '0',
  `deleted_by` bigint DEFAULT '0',
  `restored_by` bigint DEFAULT '0',
  `is_deleted` enum('true','false') DEFAULT 'false',
  PRIMARY KEY (`id`),
  UNIQUE KEY `__unique_key` (`quote`,`quote_by`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `quotes`
--

LOCK TABLES `quotes` WRITE;
/*!40000 ALTER TABLE `quotes` DISABLE KEYS */;
INSERT INTO `quotes` VALUES (1,'Pendidikan merupakan tiket untuk masa depan. Hari esok untuk orang-orang yang telah mempersiapkan dirinya hari ini','Anonim','2023-01-29 03:50:24',NULL,NULL,NULL,1,0,0,0,'false'),(2,'Agama tanpa ilmu pengetahuan adalah buta. Dan ilmu pengetahuan tanpa agama adalah lumpuh','Anonim','2023-01-29 03:50:24',NULL,NULL,NULL,1,0,0,0,'false'),(3,'Hiduplah seakan-akan kau akan mati besok. Belajarlah seakan-akan kau akan hidup selamanya','Anonim','2023-01-29 03:50:24',NULL,NULL,NULL,1,0,0,0,'false');
/*!40000 ALTER TABLE `quotes` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `rooms`
--

DROP TABLE IF EXISTS `rooms`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `rooms` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `building_id` bigint DEFAULT '0' COMMENT 'Ruangan ini di gedung mana?',
  `room_name` varchar(100) NOT NULL COMMENT 'Nama Ruangan',
  `room_capacity` smallint NOT NULL COMMENT 'Kapasitas / Jumlah Kursi',
  `is_class_room` enum('true','false') NOT NULL COMMENT 'Apakah merupakan ruang kelas?',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `deleted_at` datetime DEFAULT NULL,
  `restored_at` datetime DEFAULT NULL,
  `created_by` bigint DEFAULT '0',
  `updated_by` bigint DEFAULT '0',
  `deleted_by` bigint DEFAULT '0',
  `restored_by` bigint DEFAULT '0',
  `is_deleted` enum('true','false') DEFAULT 'false',
  PRIMARY KEY (`id`),
  UNIQUE KEY `__unique_key` (`building_id`,`room_name`),
  KEY `rooms_building_id__idx` (`building_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `rooms`
--

LOCK TABLES `rooms` WRITE;
/*!40000 ALTER TABLE `rooms` DISABLE KEYS */;
INSERT INTO `rooms` VALUES (1,1,'A1001',40,'true','2023-01-29 03:50:23',NULL,NULL,NULL,0,0,0,0,'false'),(2,1,'A1002',40,'true','2023-01-29 03:50:23',NULL,NULL,NULL,0,0,0,0,'false'),(3,1,'A1003',40,'true','2023-01-29 03:50:23',NULL,NULL,NULL,0,0,0,0,'false');
/*!40000 ALTER TABLE `rooms` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `scholarships`
--

DROP TABLE IF EXISTS `scholarships`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `scholarships` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `student_id` bigint DEFAULT '0',
  `scholarship_type` bigint DEFAULT '0',
  `scholarship_description` varchar(255) NOT NULL,
  `scholarship_start_year` year NOT NULL,
  `scholarship_end_year` year NOT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `deleted_at` datetime DEFAULT NULL,
  `restored_at` datetime DEFAULT NULL,
  `created_by` bigint DEFAULT '0',
  `updated_by` bigint DEFAULT '0',
  `deleted_by` bigint DEFAULT '0',
  `restored_by` bigint DEFAULT '0',
  `is_deleted` enum('true','false') DEFAULT 'false',
  PRIMARY KEY (`id`),
  KEY `scholarships_student_id__idx` (`student_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `scholarships`
--

LOCK TABLES `scholarships` WRITE;
/*!40000 ALTER TABLE `scholarships` DISABLE KEYS */;
/*!40000 ALTER TABLE `scholarships` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `settings`
--

DROP TABLE IF EXISTS `settings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `settings` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `setting_group` varchar(100) NOT NULL,
  `setting_variable` varchar(255) DEFAULT NULL,
  `setting_value` text,
  `setting_default_value` text,
  `setting_access_group` varchar(255) DEFAULT NULL,
  `setting_description` varchar(255) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `deleted_at` datetime DEFAULT NULL,
  `restored_at` datetime DEFAULT NULL,
  `created_by` bigint DEFAULT '0',
  `updated_by` bigint DEFAULT '0',
  `deleted_by` bigint DEFAULT '0',
  `restored_by` bigint DEFAULT '0',
  `is_deleted` enum('true','false') DEFAULT 'false',
  PRIMARY KEY (`id`),
  UNIQUE KEY `__unique_key` (`setting_group`,`setting_variable`)
) ENGINE=InnoDB AUTO_INCREMENT=87 DEFAULT CHARSET=utf8mb3;
/*!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,'general','site_maintenance',NULL,'false','public','Pemeliharaan situs','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(2,'general','site_maintenance_end_date',NULL,'2023-01-01','public','Tanggal Berakhir Pemeliharaan Situs','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(3,'general','site_cache',NULL,'false','public','Cache situs','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(4,'general','site_cache_time',NULL,'10','public','Lama Cache Situs','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(5,'general','meta_description',NULL,'CMS Sekolahku adalah Content Management System dan PPDB Online gratis untuk SD SMP/Sederajat SMA/Sederajat','public','Deskripsi Meta','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(6,'general','meta_keywords',NULL,'CMS, Website Sekolah Gratis, Cara Membuat Website Sekolah, membuat web sekolah, contoh website sekolah, fitur website sekolah, Sekolah, Website, Internet,Situs, CMS Sekolah, Web Sekolah, Website Sekolah Gratis, Website Sekolah, Aplikasi Sekolah, PPDB Online, PSB Online, PSB Online Gratis, Penerimaan Siswa Baru Online, Raport Online, Kurikulum 2013, SD, SMP, SMA, Aliyah, MTs, SMK','public','Kata Kunci Meta','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(7,'general','map_location',NULL,'','public','Lokasi di Google Maps','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(8,'general','favicon',NULL,'favicon.png','public','Favicon','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(9,'general','header',NULL,'header.png','public','Gambar Header','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(10,'general','recaptcha_status',NULL,'disable','public','reCAPTCHA Status','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(11,'general','recaptcha_site_key',NULL,'6Lfo67cjAAAAAHK_c2JcBfzJd8DSMlr8hpeFPy3W','public','reCAPTCHA Site Key','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(12,'general','recaptcha_secret_key',NULL,'6Lfo67cjAAAAAIYv3j5yJWhEJtgRATv4xaYTNR0f','public','reCAPTCHA Secret Key','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(13,'general','timezone',NULL,'Asia/Jakarta','public','Time Zone','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(14,'media','file_allowed_types',NULL,'jpg, jpeg, png, gif','public','Tipe file yang diizinkan','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(15,'media','upload_max_filesize',NULL,'0','public','Maksimal Ukuran File yang Diupload','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(16,'media','thumbnail_size_height',NULL,'100','private','Tinggi Gambar Thumbnail','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(17,'media','thumbnail_size_width',NULL,'150','private','Lebar Gambar Thumbnail','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(18,'media','medium_size_height',NULL,'308','private','Tinggi Gambar Sedang','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(19,'media','medium_size_width',NULL,'460','private','Lebar Gambar Sedang','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(20,'media','large_size_height',NULL,'600','private','Tinggi Gambar Besar','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(21,'media','large_size_width',NULL,'800','private','Lebar Gambar Besar','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(22,'media','album_cover_height',NULL,'250','private','Tinggi Cover Album Foto','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(23,'media','album_cover_width',NULL,'400','private','Lebar Cover Album Foto','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(24,'media','banner_height',NULL,'81','private','Tinggi Iklan','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(25,'media','banner_width',NULL,'245','private','Lebar Iklan','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(26,'media','image_slider_height',NULL,'400','private','Tinggi Gambar Slide','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(27,'media','image_slider_width',NULL,'900','private','Lebar Gambar Slide','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(28,'media','user_photo_height',NULL,'600','private','Tinggi Foto Siswa, Guru, Tenaga Kependidikan, dan Kepala Sekolah','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(29,'media','user_photo_width',NULL,'400','private','Lebar Foto Siswa, Guru, Tenaga Kependidikan, dan Kepala Sekolah','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(30,'media','logo_height',NULL,'120','private','Tinggi Logo Sekolah','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(31,'media','logo_width',NULL,'120','private','Lebar Logo Sekolah','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(32,'writing','default_post_category',NULL,'1','private','Default Kategori Tulisan','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(33,'writing','default_post_status',NULL,'publish','private','Default Status Tulisan','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(34,'writing','default_post_visibility',NULL,'public','private','Default Akses Tulisan','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(35,'writing','default_post_discussion',NULL,'open','private','Default Komentar Tulisan','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(36,'writing','post_image_thumbnail_height',NULL,'100','private','Tinggi Gambar Kecil','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(37,'writing','post_image_thumbnail_width',NULL,'150','private','Lebar Gambar Kecil','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(38,'writing','post_image_medium_height',NULL,'250','private','Tinggi Gambar Sedang','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(39,'writing','post_image_medium_width',NULL,'400','private','Lebar Gambar Sedang','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(40,'writing','post_image_large_height',NULL,'450','private','Tinggi Gambar Besar','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(41,'writing','post_image_large_width',NULL,'840','private','Lebar Gambar Besar','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(42,'reading','post_per_page',NULL,'5','public','Tulisan per halaman','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(43,'reading','post_rss_count',NULL,'10','public','Jumlah RSS','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(44,'reading','post_related_count',NULL,'5','public','Jumlah Tulisan Terkait','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(45,'reading','comment_per_page',NULL,'5','public','Komentar per halaman','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(46,'discussion','comment_moderation',NULL,'false','public','Komentar harus disetujui secara manual','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(47,'discussion','comment_registration',NULL,'false','public','Pengguna harus terdaftar dan login untuk komentar','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(48,'discussion','comment_blacklist',NULL,'kampret','public','Komentar disaring','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(49,'discussion','comment_order',NULL,'asc','public','Urutan Komentar','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(50,'social_account','facebook',NULL,'https://www.facebook.com/cmssekolahku/','public','Facebook','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(51,'social_account','twitter',NULL,'https://twitter.com/antonsofyan','public','Twitter','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(52,'social_account','linked_in',NULL,'https://www.linkedin.com/in/anton-sofyan-1428937a/','public','Linked In','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(53,'social_account','youtube',NULL,'-','public','Youtube','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(54,'social_account','instagram',NULL,'https://www.instagram.com/anton_sofyan/','public','Instagram','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(55,'mail_server','smtp_host',NULL,'','private','SMTP Server Address','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(56,'mail_server','smtp_user',NULL,'','private','SMTP Username','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(57,'mail_server','smtp_pass',NULL,'','private','SMTP Password','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(58,'mail_server','smtp_port',NULL,'','public','SMTP Port','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(59,'school_profile','npsn',NULL,'123','public','NPSN','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(60,'school_profile','school_name',NULL,'SMK Negeri 10 Kuningan','public','Nama Sekolah','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(61,'school_profile','headmaster',NULL,'Anton Sofyan','public','Kepala Sekolah','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(62,'school_profile','headmaster_photo',NULL,'headmaster_photo.png','public','Foto Kepala Sekolah','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(63,'school_profile','school_level',NULL,'3','public','Bentuk Pendidikan','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(64,'school_profile','school_status',NULL,'1','public','Status Sekolah','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(65,'school_profile','ownership_status',NULL,'1','public','Status Kepemilikan','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(66,'school_profile','tagline',NULL,'Where Tomorrow\'s Leaders Come Together','public','Slogan','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(67,'school_profile','rt',NULL,'12','public','RT','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(68,'school_profile','rw',NULL,'06','public','RW','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(69,'school_profile','sub_village',NULL,'Wage','public','Dusun','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(70,'school_profile','village',NULL,'Kadugede','public','Kelurahan / Desa','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(71,'school_profile','sub_district',NULL,'Kadugede','public','Kecamatan','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(72,'school_profile','district',NULL,'Kuningan','public','Kabupaten/Kota','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(73,'school_profile','postal_code',NULL,'45561','public','Kode Pos','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(74,'school_profile','street_address',NULL,'Jalan Raya Kadugede No. 11','public','Alamat Jalan','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(75,'school_profile','phone',NULL,'0232123456','public','Telepon','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(76,'school_profile','fax',NULL,'0232123456','public','Fax','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(77,'school_profile','email',NULL,'info@sman9kuningan.sch.id','public','Email','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(78,'school_profile','website',NULL,'http://www.sman9kuningan.sch.id','public','Website','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(79,'school_profile','logo',NULL,'logo.png','public','Logo','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(80,'admission','admission_status',NULL,'open','public','Status Penerimaan Peserta Didik Baru','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(81,'admission','announcement_start_date',NULL,'2023-01-01','public','Tanggal mulai pengumuman hasil seleksi Penerimaan Peserta Didik Baru','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(82,'admission','announcement_end_date',NULL,'2024-12-31','public','Tanggal selesai pengumuman hasil seleksi Penerimaan Peserta Didik Baru','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(83,'admission','print_exam_card_start_date',NULL,'2023-01-01','public','Tanggal mulai cetak kartu ujian tes tulis','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(84,'admission','print_exam_card_end_date',NULL,'2024-12-31','public','Tanggal selesai cetak kartu ujian tes tulis','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(85,'admission','min_birth_date',NULL,NULL,'private','Tanggal lahir minimal Calon Peserta Didik Baru','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(86,'admission','max_birth_date',NULL,NULL,'private','Tanggal lahir maksimal Calon Peserta Didik Baru','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false');
/*!40000 ALTER TABLE `settings` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `subjects`
--

DROP TABLE IF EXISTS `subjects`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `subjects` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `subject_name` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `deleted_at` datetime DEFAULT NULL,
  `restored_at` datetime DEFAULT NULL,
  `created_by` bigint DEFAULT '0',
  `updated_by` bigint DEFAULT '0',
  `deleted_by` bigint DEFAULT '0',
  `restored_by` bigint DEFAULT '0',
  `is_deleted` enum('true','false') DEFAULT 'false',
  PRIMARY KEY (`id`),
  UNIQUE KEY `subject_name` (`subject_name`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `subjects`
--

LOCK TABLES `subjects` WRITE;
/*!40000 ALTER TABLE `subjects` DISABLE KEYS */;
INSERT INTO `subjects` VALUES (1,'Matematika','2023-01-29 03:50:23',NULL,NULL,NULL,0,0,0,0,'false'),(2,'Bahasa Indonesia','2023-01-29 03:50:23',NULL,NULL,NULL,0,0,0,0,'false'),(3,'Bahasa Inggris','2023-01-29 03:50:23',NULL,NULL,NULL,0,0,0,0,'false');
/*!40000 ALTER TABLE `subjects` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `subscribers`
--

DROP TABLE IF EXISTS `subscribers`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `subscribers` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `email` varchar(255) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `deleted_at` datetime DEFAULT NULL,
  `restored_at` datetime DEFAULT NULL,
  `created_by` bigint DEFAULT '0',
  `updated_by` bigint DEFAULT '0',
  `deleted_by` bigint DEFAULT '0',
  `restored_by` bigint DEFAULT '0',
  `is_deleted` enum('true','false') DEFAULT 'false',
  PRIMARY KEY (`id`),
  UNIQUE KEY `email` (`email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `subscribers`
--

LOCK TABLES `subscribers` WRITE;
/*!40000 ALTER TABLE `subscribers` DISABLE KEYS */;
/*!40000 ALTER TABLE `subscribers` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tags`
--

DROP TABLE IF EXISTS `tags`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `tags` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `tag` varchar(255) NOT NULL,
  `slug` varchar(255) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `deleted_at` datetime DEFAULT NULL,
  `restored_at` datetime DEFAULT NULL,
  `created_by` bigint DEFAULT '0',
  `updated_by` bigint DEFAULT '0',
  `deleted_by` bigint DEFAULT '0',
  `restored_by` bigint DEFAULT '0',
  `is_deleted` enum('true','false') DEFAULT 'false',
  PRIMARY KEY (`id`),
  UNIQUE KEY `tag` (`tag`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tags`
--

LOCK TABLES `tags` WRITE;
/*!40000 ALTER TABLE `tags` DISABLE KEYS */;
INSERT INTO `tags` VALUES (1,'Berita','berita','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(2,'Pengumuman','pengumuman','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false'),(3,'Sekilas Info','sekilas-info','2023-01-29 03:50:24',NULL,NULL,NULL,0,0,0,0,'false');
/*!40000 ALTER TABLE `tags` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `themes`
--

DROP TABLE IF EXISTS `themes`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `themes` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `theme_name` varchar(255) NOT NULL,
  `theme_folder` varchar(255) DEFAULT NULL,
  `theme_author` varchar(255) DEFAULT NULL,
  `is_active` enum('true','false') DEFAULT 'false',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `deleted_at` datetime DEFAULT NULL,
  `restored_at` datetime DEFAULT NULL,
  `created_by` bigint DEFAULT '0',
  `updated_by` bigint DEFAULT '0',
  `deleted_by` bigint DEFAULT '0',
  `restored_by` bigint DEFAULT '0',
  `is_deleted` enum('true','false') DEFAULT 'false',
  PRIMARY KEY (`id`),
  UNIQUE KEY `theme_name` (`theme_name`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `themes`
--

LOCK TABLES `themes` WRITE;
/*!40000 ALTER TABLE `themes` DISABLE KEYS */;
INSERT INTO `themes` VALUES (1,'Theme 1','1','Anton Sofyan','true','2023-01-29 03:50:24',NULL,NULL,NULL,1,0,0,0,'false'),(2,'Theme 2','2','Anton Sofyan','false','2023-01-29 03:50:24',NULL,NULL,NULL,1,0,0,0,'false'),(3,'Theme 3','3','Anton Sofyan','false','2023-01-29 03:50:24',NULL,NULL,NULL,1,0,0,0,'false'),(4,'Theme 4','4','Anton Sofyan','false','2023-01-29 03:50:24',NULL,NULL,NULL,1,0,0,0,'false');
/*!40000 ALTER TABLE `themes` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `user_groups`
--

DROP TABLE IF EXISTS `user_groups`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `user_groups` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `user_group` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `deleted_at` datetime DEFAULT NULL,
  `restored_at` datetime DEFAULT NULL,
  `created_by` bigint DEFAULT '0',
  `updated_by` bigint DEFAULT '0',
  `deleted_by` bigint DEFAULT '0',
  `restored_by` bigint DEFAULT '0',
  `is_deleted` enum('true','false') DEFAULT 'false',
  PRIMARY KEY (`id`),
  UNIQUE KEY `user_group` (`user_group`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `user_groups`
--

LOCK TABLES `user_groups` WRITE;
/*!40000 ALTER TABLE `user_groups` DISABLE KEYS */;
/*!40000 ALTER TABLE `user_groups` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `user_privileges`
--

DROP TABLE IF EXISTS `user_privileges`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `user_privileges` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `user_group_id` bigint DEFAULT '0',
  `module_id` bigint DEFAULT '0',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `deleted_at` datetime DEFAULT NULL,
  `restored_at` datetime DEFAULT NULL,
  `created_by` bigint DEFAULT '0',
  `updated_by` bigint DEFAULT '0',
  `deleted_by` bigint DEFAULT '0',
  `restored_by` bigint DEFAULT '0',
  `is_deleted` enum('true','false') DEFAULT 'false',
  PRIMARY KEY (`id`),
  UNIQUE KEY `__unique_key` (`user_group_id`,`module_id`),
  KEY `user_privileges_user_group_id__idx` (`user_group_id`) USING BTREE,
  KEY `user_privileges_module_id__idx` (`module_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `user_privileges`
--

LOCK TABLES `user_privileges` WRITE;
/*!40000 ALTER TABLE `user_privileges` DISABLE KEYS */;
/*!40000 ALTER TABLE `user_privileges` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `users`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `users` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `is_super_admin` enum('true','false') NOT NULL DEFAULT 'false' COMMENT 'Super Admin?',
  `is_admin` enum('true','false') NOT NULL DEFAULT 'false' COMMENT 'Admin?',
  `is_employee` enum('true','false') NOT NULL DEFAULT 'false' COMMENT 'Tenaga Kependidikan?',
  `is_prospective_student` enum('true','false') NOT NULL DEFAULT 'false' COMMENT 'Apakah Calon Siswa Baru?',
  `is_student` enum('true','false') NOT NULL DEFAULT 'false' COMMENT 'Apakah Siswa Aktif ? Set true jika lolos seleksi PPDB dan set FALSE jika sudah lulus',
  `is_alumni` enum('true','false','unverified') NOT NULL DEFAULT 'false' COMMENT 'Apakah Alumni?',
  `password` varchar(100) DEFAULT NULL,
  `user_group_id` bigint DEFAULT '0',
  `forgot_password_key` varchar(100) DEFAULT NULL,
  `forgot_password_request_date` date DEFAULT NULL,
  `active` enum('true','false') DEFAULT 'false',
  `last_active` datetime DEFAULT NULL,
  `ip_address` varchar(45) DEFAULT NULL,
  `is_transfer` enum('true','false') NOT NULL DEFAULT 'false' COMMENT 'Jenis Pendaftaran : Baru / Pindahan?',
  `major_id` bigint DEFAULT '0' COMMENT 'Program Keahlian',
  `admission_type_id` bigint DEFAULT '0' COMMENT 'Jenis Pendaftaran',
  `start_date` date DEFAULT NULL COMMENT 'Tanggal Masuk Sekolah',
  `prev_school_name` varchar(255) DEFAULT NULL COMMENT 'Sekolah Asal',
  `prev_exam_number` varchar(50) DEFAULT NULL COMMENT 'Nomor Peserta UN SMP/MTs',
  `prev_diploma_number` varchar(50) DEFAULT NULL COMMENT 'No. Seri Ijazah SMP/MTs',
  `skhun` varchar(50) DEFAULT NULL COMMENT 'No. Seri Surat Keterangan Hasil Ujian Nasional Sebelumnya',
  `first_choice_id` bigint DEFAULT '0' COMMENT 'Pilihan Pertama PPDB',
  `second_choice_id` bigint DEFAULT '0' COMMENT 'Pilihan Kedua PPDB',
  `registration_number` varchar(10) DEFAULT NULL COMMENT 'Nomor Pendaftaran',
  `admission_phase_id` bigint DEFAULT '0' COMMENT 'Gelombang Pendaftaran',
  `re_registration` enum('true','false') DEFAULT NULL COMMENT 'Konfirmasi Pendaftaran Ulang Calon Siswa Baru',
  `selection_result` varchar(100) DEFAULT NULL COMMENT 'Hasil Seleksi PPDB',
  `photo` varchar(100) DEFAULT NULL,
  `family_card` varchar(100) DEFAULT NULL COMMENT 'Kartu Keluarga',
  `birth_certificate` varchar(100) DEFAULT NULL COMMENT 'Akta Lahir',
  `full_name` varchar(150) NOT NULL,
  `gender` enum('M','F') NOT NULL DEFAULT 'M',
  `nis` varchar(25) DEFAULT NULL COMMENT 'Nomor Induk Siswa',
  `nisn` varchar(25) DEFAULT NULL COMMENT 'Nomor Induk Siswa Nasional',
  `nik` varchar(25) DEFAULT NULL COMMENT 'NIK/ No. KITAS (Untuk WNA)',
  `family_card_number` varchar(50) DEFAULT NULL COMMENT 'Nomor Kartu Keluarga',
  `birth_place` varchar(255) DEFAULT NULL,
  `birth_date` date DEFAULT NULL,
  `birth_certificate_number` varchar(50) DEFAULT NULL COMMENT 'Nomor Registasi Akta Lahir',
  `religion_id` bigint DEFAULT '0',
  `citizenship` enum('WNI','WNA') NOT NULL DEFAULT 'WNI' COMMENT 'Kewarganegaraan',
  `country` varchar(255) DEFAULT NULL,
  `special_need_id` bigint DEFAULT '0' COMMENT 'Berkebutuhan Khusus',
  `street_address` varchar(255) DEFAULT NULL COMMENT 'Alamat Jalan',
  `rt` varchar(10) DEFAULT NULL COMMENT 'Alamat Jalan',
  `rw` varchar(10) DEFAULT NULL COMMENT 'Alamat Jalan',
  `sub_village` varchar(255) DEFAULT NULL COMMENT 'Nama Dusun',
  `village` varchar(255) DEFAULT NULL COMMENT 'Desa/Kelurahan',
  `sub_district` varchar(255) DEFAULT NULL COMMENT 'Kecamatan',
  `district` varchar(255) DEFAULT NULL COMMENT 'Kabupaten',
  `postal_code` varchar(20) DEFAULT NULL COMMENT 'Kode POS',
  `latitude` varchar(30) DEFAULT NULL COMMENT 'Titik koordinat tempat tinggal siswa',
  `longitude` varchar(30) DEFAULT NULL COMMENT 'Titik koordinat tempat tinggal siswa',
  `residence_id` bigint DEFAULT '0' COMMENT 'Kepemilikan tempat tinggal peserta didik saat ini (yang telah diisikan pada kolom-kolom sebelumnya di atas)',
  `transportation_id` bigint DEFAULT '0' COMMENT 'Jenis transportasi utama atau yang paling sering digunakan peserta didik untuk berangkat ke sekolah',
  `child_number` smallint DEFAULT '0' COMMENT 'Anak Ke Berapa',
  `employment_id` bigint DEFAULT '0' COMMENT 'Pekerjaan (diperuntukan untuk warga belajar)',
  `have_kip` enum('true','false') DEFAULT 'false' COMMENT 'Apakah punya KIP',
  `receive_kip` enum('true','false') DEFAULT 'false' COMMENT 'Apakah peserta didik tersebut tetap akan menerima KIP',
  `reject_pip` bigint DEFAULT '0' COMMENT 'Alasan Menolak PIP',
  `father_name` varchar(150) DEFAULT NULL,
  `father_nik` varchar(16) DEFAULT NULL COMMENT 'NIK/ No. KITAS (Untuk WNA)',
  `father_birth_place` varchar(255) DEFAULT NULL,
  `father_birth_date` date DEFAULT NULL,
  `father_education_id` bigint DEFAULT '0',
  `father_employment_id` bigint DEFAULT '0',
  `father_monthly_income_id` bigint DEFAULT '0',
  `father_special_need_id` bigint DEFAULT '0',
  `father_identity_card` varchar(100) DEFAULT NULL,
  `mother_name` varchar(150) DEFAULT NULL,
  `mother_nik` varchar(16) DEFAULT NULL COMMENT 'NIK/ No. KITAS (Untuk WNA)',
  `mother_birth_place` varchar(255) DEFAULT NULL,
  `mother_birth_date` date DEFAULT NULL,
  `mother_education_id` bigint DEFAULT '0',
  `mother_employment_id` bigint DEFAULT '0',
  `mother_monthly_income_id` bigint DEFAULT '0',
  `mother_special_need_id` bigint DEFAULT '0',
  `mother_identity_card` varchar(100) DEFAULT NULL,
  `guardian_name` varchar(150) DEFAULT NULL,
  `guardian_nik` varchar(16) DEFAULT NULL COMMENT 'NIK/ No. KITAS (Untuk WNA)',
  `guardian_birth_place` varchar(255) DEFAULT NULL,
  `guardian_birth_date` date DEFAULT NULL,
  `guardian_education_id` bigint DEFAULT '0',
  `guardian_employment_id` bigint DEFAULT '0',
  `guardian_monthly_income_id` bigint DEFAULT '0',
  `guardian_identity_card` varchar(100) DEFAULT NULL,
  `phone` varchar(50) DEFAULT NULL,
  `mobile_phone` varchar(50) DEFAULT NULL,
  `email` varchar(150) NOT NULL,
  `height` smallint DEFAULT NULL COMMENT 'Tinggi Badan',
  `weight` smallint DEFAULT NULL COMMENT 'Berat Badan',
  `head_circumference` smallint DEFAULT NULL COMMENT 'Lingkar Kepala',
  `mileage` smallint DEFAULT NULL COMMENT 'Jarak tempat tinggal ke sekolah',
  `traveling_time` smallint DEFAULT NULL COMMENT 'Waktu Tempuh',
  `sibling_number` smallint DEFAULT '0' COMMENT 'Jumlah Saudara Kandung',
  `welfare_type` varchar(2) DEFAULT NULL COMMENT 'Jenis Kesejahteraan: 01:PKH, 02:PIP, 03:Kartu Perlindungan Sosial, 04:Kartu Keluarga Sejahtera  05:Kartu Kesehatan',
  `welfare_number` varchar(100) DEFAULT NULL COMMENT 'No. Kartu Kesejahteraan',
  `welfare_name` varchar(100) DEFAULT NULL COMMENT 'Nama di Kartu Kesejahteraan',
  `student_status_id` bigint DEFAULT '0' COMMENT 'Status siswa',
  `end_date` date DEFAULT NULL COMMENT 'Tanggal saat peserta didik diketahui/tercatat keluar dari sekolah',
  `reason` varchar(255) DEFAULT NULL COMMENT 'Alasan khusus yang melatarbelakangi peserta didik keluar dari sekolah',
  `employment_type_id` bigint DEFAULT '0' COMMENT 'Jenis Guru dan Tenaga Kependidikan (GTK)',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `deleted_at` datetime DEFAULT NULL,
  `restored_at` datetime DEFAULT NULL,
  `created_by` bigint DEFAULT '0',
  `updated_by` bigint DEFAULT '0',
  `deleted_by` bigint DEFAULT '0',
  `restored_by` bigint DEFAULT '0',
  `is_deleted` enum('true','false') DEFAULT 'false',
  PRIMARY KEY (`id`),
  KEY `users_registration_number__idx` (`registration_number`) USING BTREE,
  KEY `users_nis__idx` (`nis`) USING BTREE,
  KEY `users_full_name__idx` (`full_name`) USING BTREE,
  KEY `users_email__idx` (`email`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `users` WRITE;
/*!40000 ALTER TABLE `users` DISABLE KEYS */;
INSERT INTO `users` VALUES (1,'true','false','false','false','false','false','$2y$12$54xFToE1dQY/gYcCGTJ9JuFMT4cqdypjR4dpcJz9fmh/T1luwl81q',0,NULL,NULL,'false',NULL,NULL,'false',0,0,NULL,NULL,NULL,NULL,NULL,0,0,NULL,0,NULL,NULL,NULL,NULL,NULL,'Administrator','M',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'WNI',NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'false','false',0,NULL,NULL,NULL,NULL,0,0,0,0,NULL,NULL,NULL,NULL,NULL,0,0,0,0,NULL,NULL,NULL,NULL,NULL,0,0,0,NULL,NULL,NULL,'super@admin.com',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,0,NULL,NULL,0,'2023-01-29 03:50:24',NULL,NULL,NULL,NULL,0,0,0,'false');
/*!40000 ALTER TABLE `users` 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 2023-01-29 10:50:24
