Created
November 22, 2024 13:57
-
-
Save HaradaKumiko/e46128ad096753c74345a6ef478aca04 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- phpMyAdmin SQL Dump | |
-- version 5.2.1 | |
-- https://www.phpmyadmin.net/ | |
-- | |
-- Host: 127.0.0.1 | |
-- Generation Time: Apr 05, 2024 at 06:13 AM | |
-- Server version: 10.4.32-MariaDB | |
-- PHP Version: 8.1.25 | |
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; | |
START TRANSACTION; | |
SET time_zone = "+00:00"; | |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */ | |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */ | |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */ | |
/*!40101 SET NAMES utf8mb4 */ | |
-- | |
-- Database: `cbtmalela_l10` | |
-- | |
-- -------------------------------------------------------- | |
-- | |
-- Table structure for table `admins` | |
-- | |
CREATE TABLE `admins` ( | |
`id` bigint(20) UNSIGNED NOT NULL, | |
`nama_admin` varchar(255) NOT NULL, | |
`email` varchar(255) NOT NULL, | |
`password` varchar(255) NOT NULL, | |
`avatar` varchar(255) NOT NULL, | |
`role` int(11) NOT NULL, | |
`is_active` tinyint(1) NOT NULL, | |
`created_at` timestamp NULL DEFAULT NULL, | |
`updated_at` timestamp NULL DEFAULT NULL | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | |
-- | |
-- Dumping data for table `admins` | |
-- | |
INSERT INTO `admins` (`id`, `nama_admin`, `email`, `password`, `avatar`, `role`, `is_active`, `created_at`, `updated_at`) VALUES | |
(1, 'Gibran', '[email protected]', '$2y$12$hE7wVhOM55xmgR.rwNw6L.azm3Qb7GKU2ub8.CliPif7i1eMKxpf6', 'default.png', 1, 1, '2024-04-05 04:11:58', '2024-04-05 04:11:58'); | |
-- -------------------------------------------------------- | |
-- | |
-- Table structure for table `bank_soal` | |
-- | |
CREATE TABLE `bank_soal` ( | |
`id` bigint(20) UNSIGNED NOT NULL, | |
`kode` varchar(255) NOT NULL, | |
`guru_id` int(11) NOT NULL, | |
`nama` varchar(255) NOT NULL, | |
`jenis` int(11) NOT NULL, | |
`total_soal` int(11) NOT NULL, | |
`created_at` timestamp NULL DEFAULT NULL, | |
`updated_at` timestamp NULL DEFAULT NULL | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | |
-- -------------------------------------------------------- | |
-- | |
-- Table structure for table `detail_bank_essay` | |
-- | |
CREATE TABLE `detail_bank_essay` ( | |
`id` bigint(20) UNSIGNED NOT NULL, | |
`kode` varchar(255) NOT NULL, | |
`soal` longtext NOT NULL | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | |
-- -------------------------------------------------------- | |
-- | |
-- Table structure for table `detail_bank_pg` | |
-- | |
CREATE TABLE `detail_bank_pg` ( | |
`id` bigint(20) UNSIGNED NOT NULL, | |
`kode` varchar(255) NOT NULL, | |
`soal` longtext NOT NULL, | |
`pg_1` longtext NOT NULL, | |
`pg_2` longtext NOT NULL, | |
`pg_3` longtext NOT NULL, | |
`pg_4` longtext NOT NULL, | |
`pg_5` longtext NOT NULL, | |
`jawaban` longtext NOT NULL | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | |
-- -------------------------------------------------------- | |
-- | |
-- Table structure for table `detail_essay` | |
-- | |
CREATE TABLE `detail_essay` ( | |
`id` bigint(20) UNSIGNED NOT NULL, | |
`kode` varchar(255) NOT NULL, | |
`soal` longtext NOT NULL, | |
`created_at` timestamp NULL DEFAULT NULL, | |
`updated_at` timestamp NULL DEFAULT NULL | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | |
-- -------------------------------------------------------- | |
-- | |
-- Table structure for table `detail_ujian` | |
-- | |
CREATE TABLE `detail_ujian` ( | |
`id` bigint(20) UNSIGNED NOT NULL, | |
`kode` varchar(255) NOT NULL, | |
`soal` longtext NOT NULL, | |
`pg_1` varchar(255) NOT NULL, | |
`pg_2` varchar(255) NOT NULL, | |
`pg_3` varchar(255) NOT NULL, | |
`pg_4` varchar(255) NOT NULL, | |
`pg_5` varchar(255) NOT NULL, | |
`jawaban` varchar(255) NOT NULL, | |
`created_at` timestamp NULL DEFAULT NULL, | |
`updated_at` timestamp NULL DEFAULT NULL | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | |
-- -------------------------------------------------------- | |
-- | |
-- Table structure for table `email_settings` | |
-- | |
CREATE TABLE `email_settings` ( | |
`id` bigint(20) UNSIGNED NOT NULL, | |
`notif_akun` int(11) NOT NULL DEFAULT 1, | |
`notif_materi` int(11) NOT NULL DEFAULT 1, | |
`notif_tugas` int(11) NOT NULL DEFAULT 1, | |
`notif_ujian` int(11) NOT NULL DEFAULT 1, | |
`created_at` timestamp NULL DEFAULT NULL, | |
`updated_at` timestamp NULL DEFAULT NULL | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | |
-- | |
-- Dumping data for table `email_settings` | |
-- | |
INSERT INTO `email_settings` (`id`, `notif_akun`, `notif_materi`, `notif_tugas`, `notif_ujian`, `created_at`, `updated_at`) VALUES | |
(1, 0, 0, 0, 0, '2022-11-14 17:00:00', '2022-11-15 09:57:50'); | |
-- -------------------------------------------------------- | |
-- | |
-- Table structure for table `essay_siswa` | |
-- | |
CREATE TABLE `essay_siswa` ( | |
`id` bigint(20) UNSIGNED NOT NULL, | |
`detail_ujian_id` int(11) NOT NULL, | |
`kode` varchar(255) NOT NULL, | |
`siswa_id` int(11) NOT NULL, | |
`jawaban` longtext DEFAULT NULL, | |
`ragu` tinyint(1) DEFAULT NULL, | |
`nilai` int(11) DEFAULT NULL | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | |
-- -------------------------------------------------------- | |
-- | |
-- Table structure for table `failed_jobs` | |
-- | |
CREATE TABLE `failed_jobs` ( | |
`id` bigint(20) UNSIGNED NOT NULL, | |
`uuid` varchar(255) NOT NULL, | |
`connection` text NOT NULL, | |
`queue` text NOT NULL, | |
`payload` longtext NOT NULL, | |
`exception` longtext NOT NULL, | |
`failed_at` timestamp NOT NULL DEFAULT current_timestamp() | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | |
-- -------------------------------------------------------- | |
-- | |
-- Table structure for table `files` | |
-- | |
CREATE TABLE `files` ( | |
`id` bigint(20) UNSIGNED NOT NULL, | |
`kode` varchar(255) NOT NULL, | |
`nama` varchar(255) NOT NULL | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | |
-- -------------------------------------------------------- | |
-- | |
-- Table structure for table `guru` | |
-- | |
CREATE TABLE `guru` ( | |
`id` bigint(20) UNSIGNED NOT NULL, | |
`nama_guru` varchar(255) NOT NULL, | |
`gender` varchar(255) NOT NULL, | |
`email` varchar(255) NOT NULL, | |
`password` varchar(255) NOT NULL, | |
`avatar` varchar(255) NOT NULL, | |
`role` int(11) NOT NULL, | |
`is_active` tinyint(1) NOT NULL, | |
`created_at` timestamp NULL DEFAULT NULL, | |
`updated_at` timestamp NULL DEFAULT NULL | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | |
-- | |
-- Dumping data for table `guru` | |
-- | |
INSERT INTO `guru` (`id`, `nama_guru`, `gender`, `email`, `password`, `avatar`, `role`, `is_active`, `created_at`, `updated_at`) VALUES | |
(1, 'Ayu rahayu', 'Perempuan', '[email protected]', '$2y$10$HZTuHk6eu/a41QEs6lnKx.ntS5t37ZX29Ge8zSOLLk20DV/Fk5T5O', 'default.png', 2, 1, '2024-04-04 19:08:02', '2024-04-04 19:08:02'), | |
(2, 'Boby yunus', 'Laki - Laki', '[email protected]', '$2y$10$sJprQ2fHnPgtUJGtc48oIutDzcXYI0Ps4DVDHpZXj/tGBKiMmKsoS', 'default.png', 2, 1, '2024-04-04 19:08:02', '2024-04-04 19:08:02'), | |
(3, 'Dwi', 'Laki - Laki', '[email protected]', '$2y$10$fteTQh7i.0gohr3Pq4.4NeVFE3RZ7N7bpK0tPITxx4/XPrI24cd2q', 'default.png', 2, 1, '2024-04-04 19:08:02', '2024-04-04 19:08:02'), | |
(4, 'Raya Caturita Metsy', 'Perempuan', '[email protected]', '$2y$10$Dz3mxJMd4dneJmRXReF0F.Za535hur.N7INN89I.Z9qLkV3YDi78a', 'default.png', 2, 1, '2024-04-04 19:08:02', '2024-04-04 19:08:02'), | |
(5, 'Nabila', 'Perempuan', '[email protected]', '$2y$10$UsTsvZ0dV5uFqitQK/dPhubzH1MHwr6T7xg9RrDvdBbEQ/NCyIJNS', 'default.png', 2, 1, '2024-04-04 19:08:02', '2024-04-04 19:08:02'); | |
-- -------------------------------------------------------- | |
-- | |
-- Table structure for table `gurukelas` | |
-- | |
CREATE TABLE `gurukelas` ( | |
`id` bigint(20) UNSIGNED NOT NULL, | |
`guru_id` int(11) NOT NULL, | |
`kelas_id` int(11) NOT NULL, | |
`created_at` timestamp NULL DEFAULT NULL, | |
`updated_at` timestamp NULL DEFAULT NULL | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | |
-- | |
-- Dumping data for table `gurukelas` | |
-- | |
INSERT INTO `gurukelas` (`id`, `guru_id`, `kelas_id`, `created_at`, `updated_at`) VALUES | |
(1, 1, 1, NULL, NULL), | |
(2, 4, 1, NULL, NULL), | |
(3, 4, 2, NULL, NULL); | |
-- -------------------------------------------------------- | |
-- | |
-- Table structure for table `gurumapel` | |
-- | |
CREATE TABLE `gurumapel` ( | |
`id` bigint(20) UNSIGNED NOT NULL, | |
`guru_id` int(11) NOT NULL, | |
`mapel_id` int(11) NOT NULL, | |
`created_at` timestamp NULL DEFAULT NULL, | |
`updated_at` timestamp NULL DEFAULT NULL | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | |
-- | |
-- Dumping data for table `gurumapel` | |
-- | |
INSERT INTO `gurumapel` (`id`, `guru_id`, `mapel_id`, `created_at`, `updated_at`) VALUES | |
(1, 1, 1, NULL, NULL), | |
(2, 4, 2, NULL, NULL), | |
(3, 4, 3, NULL, NULL); | |
-- -------------------------------------------------------- | |
-- | |
-- Table structure for table `jobs` | |
-- | |
CREATE TABLE `jobs` ( | |
`id` bigint(20) UNSIGNED NOT NULL, | |
`queue` varchar(255) NOT NULL, | |
`payload` longtext NOT NULL, | |
`attempts` tinyint(3) UNSIGNED NOT NULL, | |
`reserved_at` int(10) UNSIGNED DEFAULT NULL, | |
`available_at` int(10) UNSIGNED NOT NULL, | |
`created_at` int(10) UNSIGNED NOT NULL | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | |
-- -------------------------------------------------------- | |
-- | |
-- Table structure for table `kelas` | |
-- | |
CREATE TABLE `kelas` ( | |
`id` bigint(20) UNSIGNED NOT NULL, | |
`nama_kelas` varchar(255) NOT NULL, | |
`created_at` timestamp NULL DEFAULT NULL, | |
`updated_at` timestamp NULL DEFAULT NULL | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | |
-- | |
-- Dumping data for table `kelas` | |
-- | |
INSERT INTO `kelas` (`id`, `nama_kelas`, `created_at`, `updated_at`) VALUES | |
(1, 'IPS1', NULL, NULL), | |
(2, 'IPS2', NULL, NULL), | |
(3, 'IPS3', NULL, NULL); | |
-- -------------------------------------------------------- | |
-- | |
-- Table structure for table `mapel` | |
-- | |
CREATE TABLE `mapel` ( | |
`id` bigint(20) UNSIGNED NOT NULL, | |
`nama_mapel` varchar(255) NOT NULL, | |
`created_at` timestamp NULL DEFAULT NULL, | |
`updated_at` timestamp NULL DEFAULT NULL | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | |
-- | |
-- Dumping data for table `mapel` | |
-- | |
INSERT INTO `mapel` (`id`, `nama_mapel`, `created_at`, `updated_at`) VALUES | |
(1, 'Matematika', NULL, NULL), | |
(2, 'Fisika', NULL, NULL), | |
(3, 'Algoritma Pemrograman', NULL, NULL); | |
-- -------------------------------------------------------- | |
-- | |
-- Table structure for table `materi` | |
-- | |
CREATE TABLE `materi` ( | |
`id` bigint(20) UNSIGNED NOT NULL, | |
`kode` varchar(255) NOT NULL, | |
`guru_id` int(11) NOT NULL, | |
`kelas_id` int(11) NOT NULL, | |
`mapel_id` int(11) NOT NULL, | |
`nama_materi` varchar(255) NOT NULL, | |
`teks` longtext NOT NULL, | |
`created_at` timestamp NULL DEFAULT NULL, | |
`updated_at` timestamp NULL DEFAULT NULL | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | |
-- -------------------------------------------------------- | |
-- | |
-- Table structure for table `migrations` | |
-- | |
CREATE TABLE `migrations` ( | |
`id` int(10) UNSIGNED NOT NULL, | |
`migration` varchar(255) NOT NULL, | |
`batch` int(11) NOT NULL | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | |
-- -------------------------------------------------------- | |
-- | |
-- Table structure for table `notifications` | |
-- | |
CREATE TABLE `notifications` ( | |
`id` bigint(20) UNSIGNED NOT NULL, | |
`nama` varchar(255) NOT NULL, | |
`siswa_id` int(11) NOT NULL, | |
`key` varchar(255) NOT NULL, | |
`kode` varchar(255) NOT NULL | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | |
-- -------------------------------------------------------- | |
-- | |
-- Table structure for table `pg_siswa` | |
-- | |
CREATE TABLE `pg_siswa` ( | |
`id` bigint(20) UNSIGNED NOT NULL, | |
`detail_ujian_id` int(11) NOT NULL, | |
`kode` varchar(255) NOT NULL, | |
`siswa_id` int(11) NOT NULL, | |
`jawaban` varchar(255) DEFAULT NULL, | |
`benar` tinyint(1) DEFAULT NULL, | |
`ragu` tinyint(1) DEFAULT NULL | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | |
-- -------------------------------------------------------- | |
-- | |
-- Table structure for table `siswa` | |
-- | |
CREATE TABLE `siswa` ( | |
`id` bigint(20) UNSIGNED NOT NULL, | |
`nis` varchar(255) NOT NULL, | |
`nama_siswa` varchar(255) NOT NULL, | |
`gender` varchar(255) NOT NULL, | |
`kelas_id` int(11) NOT NULL, | |
`email` varchar(255) NOT NULL, | |
`password` varchar(255) NOT NULL, | |
`avatar` varchar(255) NOT NULL, | |
`role` int(11) NOT NULL, | |
`is_active` tinyint(1) NOT NULL, | |
`created_at` timestamp NULL DEFAULT NULL, | |
`updated_at` timestamp NULL DEFAULT NULL | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | |
-- -------------------------------------------------------- | |
-- | |
-- Table structure for table `tokens` | |
-- | |
CREATE TABLE `tokens` ( | |
`id` bigint(20) UNSIGNED NOT NULL, | |
`token` varchar(255) NOT NULL, | |
`email` varchar(255) NOT NULL, | |
`key` varchar(255) NOT NULL, | |
`role` int(11) NOT NULL, | |
`created_at` timestamp NULL DEFAULT NULL, | |
`updated_at` timestamp NULL DEFAULT NULL | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | |
-- -------------------------------------------------------- | |
-- | |
-- Table structure for table `tugas` | |
-- | |
CREATE TABLE `tugas` ( | |
`id` bigint(20) UNSIGNED NOT NULL, | |
`kode` varchar(255) NOT NULL, | |
`guru_id` int(11) NOT NULL, | |
`kelas_id` int(11) NOT NULL, | |
`mapel_id` int(11) NOT NULL, | |
`nama_tugas` varchar(255) NOT NULL, | |
`teks` longtext NOT NULL, | |
`due_date` varchar(255) NOT NULL, | |
`created_at` timestamp NULL DEFAULT NULL, | |
`updated_at` timestamp NULL DEFAULT NULL | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | |
-- -------------------------------------------------------- | |
-- | |
-- Table structure for table `tugas_siswa` | |
-- | |
CREATE TABLE `tugas_siswa` ( | |
`id` bigint(20) UNSIGNED NOT NULL, | |
`kode` varchar(255) NOT NULL, | |
`siswa_id` int(11) NOT NULL, | |
`teks` longtext DEFAULT NULL, | |
`file` varchar(255) DEFAULT NULL, | |
`date_send` varchar(255) DEFAULT NULL, | |
`is_telat` tinyint(1) DEFAULT NULL, | |
`nilai` int(11) DEFAULT NULL, | |
`catatan_guru` longtext DEFAULT NULL, | |
`created_at` timestamp NULL DEFAULT NULL, | |
`updated_at` timestamp NULL DEFAULT NULL | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | |
-- -------------------------------------------------------- | |
-- | |
-- Table structure for table `ujian` | |
-- | |
CREATE TABLE `ujian` ( | |
`id` bigint(20) UNSIGNED NOT NULL, | |
`kode` varchar(255) NOT NULL, | |
`nama` varchar(255) NOT NULL, | |
`jenis` int(11) NOT NULL, | |
`guru_id` int(11) NOT NULL, | |
`kelas_id` int(11) NOT NULL, | |
`mapel_id` int(11) NOT NULL, | |
`jam` int(11) NOT NULL, | |
`menit` int(11) NOT NULL, | |
`acak` int(11) DEFAULT NULL, | |
`created_at` timestamp NULL DEFAULT NULL, | |
`updated_at` timestamp NULL DEFAULT NULL | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | |
-- -------------------------------------------------------- | |
-- | |
-- Table structure for table `userchat` | |
-- | |
CREATE TABLE `userchat` ( | |
`id` bigint(20) UNSIGNED NOT NULL, | |
`key` varchar(255) NOT NULL, | |
`email` varchar(255) NOT NULL, | |
`chat` varchar(255) NOT NULL, | |
`created_at` timestamp NULL DEFAULT NULL, | |
`updated_at` timestamp NULL DEFAULT NULL | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | |
-- -------------------------------------------------------- | |
-- | |
-- Table structure for table `waktu_ujian` | |
-- | |
CREATE TABLE `waktu_ujian` ( | |
`id` bigint(20) UNSIGNED NOT NULL, | |
`kode` varchar(255) NOT NULL, | |
`siswa_id` int(11) NOT NULL, | |
`waktu_berakhir` varchar(255) DEFAULT NULL, | |
`selesai` tinyint(1) DEFAULT NULL | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | |
-- | |
-- Indexes for dumped tables | |
-- | |
-- | |
-- Indexes for table `admins` | |
-- | |
ALTER TABLE `admins` | |
ADD PRIMARY KEY (`id`), | |
ADD UNIQUE KEY `admins_email_unique` (`email`); | |
-- | |
-- Indexes for table `bank_soal` | |
-- | |
ALTER TABLE `bank_soal` | |
ADD PRIMARY KEY (`id`), | |
ADD UNIQUE KEY `bank_soal_kode_unique` (`kode`); | |
-- | |
-- Indexes for table `detail_bank_essay` | |
-- | |
ALTER TABLE `detail_bank_essay` | |
ADD PRIMARY KEY (`id`); | |
-- | |
-- Indexes for table `detail_bank_pg` | |
-- | |
ALTER TABLE `detail_bank_pg` | |
ADD PRIMARY KEY (`id`); | |
-- | |
-- Indexes for table `detail_essay` | |
-- | |
ALTER TABLE `detail_essay` | |
ADD PRIMARY KEY (`id`); | |
-- | |
-- Indexes for table `detail_ujian` | |
-- | |
ALTER TABLE `detail_ujian` | |
ADD PRIMARY KEY (`id`); | |
-- | |
-- Indexes for table `email_settings` | |
-- | |
ALTER TABLE `email_settings` | |
ADD PRIMARY KEY (`id`); | |
-- | |
-- Indexes for table `essay_siswa` | |
-- | |
ALTER TABLE `essay_siswa` | |
ADD PRIMARY KEY (`id`); | |
-- | |
-- Indexes for table `failed_jobs` | |
-- | |
ALTER TABLE `failed_jobs` | |
ADD PRIMARY KEY (`id`), | |
ADD UNIQUE KEY `failed_jobs_uuid_unique` (`uuid`); | |
-- | |
-- Indexes for table `files` | |
-- | |
ALTER TABLE `files` | |
ADD PRIMARY KEY (`id`); | |
-- | |
-- Indexes for table `guru` | |
-- | |
ALTER TABLE `guru` | |
ADD PRIMARY KEY (`id`), | |
ADD UNIQUE KEY `guru_email_unique` (`email`); | |
-- | |
-- Indexes for table `gurukelas` | |
-- | |
ALTER TABLE `gurukelas` | |
ADD PRIMARY KEY (`id`); | |
-- | |
-- Indexes for table `gurumapel` | |
-- | |
ALTER TABLE `gurumapel` | |
ADD PRIMARY KEY (`id`); | |
-- | |
-- Indexes for table `jobs` | |
-- | |
ALTER TABLE `jobs` | |
ADD PRIMARY KEY (`id`), | |
ADD KEY `jobs_queue_index` (`queue`); | |
-- | |
-- Indexes for table `kelas` | |
-- | |
ALTER TABLE `kelas` | |
ADD PRIMARY KEY (`id`); | |
-- | |
-- Indexes for table `mapel` | |
-- | |
ALTER TABLE `mapel` | |
ADD PRIMARY KEY (`id`); | |
-- | |
-- Indexes for table `materi` | |
-- | |
ALTER TABLE `materi` | |
ADD PRIMARY KEY (`id`); | |
-- | |
-- Indexes for table `migrations` | |
-- | |
ALTER TABLE `migrations` | |
ADD PRIMARY KEY (`id`); | |
-- | |
-- Indexes for table `notifications` | |
-- | |
ALTER TABLE `notifications` | |
ADD PRIMARY KEY (`id`); | |
-- | |
-- Indexes for table `pg_siswa` | |
-- | |
ALTER TABLE `pg_siswa` | |
ADD PRIMARY KEY (`id`); | |
-- | |
-- Indexes for table `siswa` | |
-- | |
ALTER TABLE `siswa` | |
ADD PRIMARY KEY (`id`), | |
ADD UNIQUE KEY `siswa_nis_unique` (`nis`), | |
ADD UNIQUE KEY `siswa_email_unique` (`email`); | |
-- | |
-- Indexes for table `tokens` | |
-- | |
ALTER TABLE `tokens` | |
ADD PRIMARY KEY (`id`); | |
-- | |
-- Indexes for table `tugas` | |
-- | |
ALTER TABLE `tugas` | |
ADD PRIMARY KEY (`id`); | |
-- | |
-- Indexes for table `tugas_siswa` | |
-- | |
ALTER TABLE `tugas_siswa` | |
ADD PRIMARY KEY (`id`); | |
-- | |
-- Indexes for table `ujian` | |
-- | |
ALTER TABLE `ujian` | |
ADD PRIMARY KEY (`id`); | |
-- | |
-- Indexes for table `userchat` | |
-- | |
ALTER TABLE `userchat` | |
ADD PRIMARY KEY (`id`); | |
-- | |
-- Indexes for table `waktu_ujian` | |
-- | |
ALTER TABLE `waktu_ujian` | |
ADD PRIMARY KEY (`id`); | |
-- | |
-- AUTO_INCREMENT for dumped tables | |
-- | |
-- | |
-- AUTO_INCREMENT for table `admins` | |
-- | |
ALTER TABLE `admins` | |
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; | |
-- | |
-- AUTO_INCREMENT for table `bank_soal` | |
-- | |
ALTER TABLE `bank_soal` | |
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; | |
-- | |
-- AUTO_INCREMENT for table `detail_bank_essay` | |
-- | |
ALTER TABLE `detail_bank_essay` | |
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; | |
-- | |
-- AUTO_INCREMENT for table `detail_bank_pg` | |
-- | |
ALTER TABLE `detail_bank_pg` | |
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; | |
-- | |
-- AUTO_INCREMENT for table `detail_essay` | |
-- | |
ALTER TABLE `detail_essay` | |
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; | |
-- | |
-- AUTO_INCREMENT for table `detail_ujian` | |
-- | |
ALTER TABLE `detail_ujian` | |
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; | |
-- | |
-- AUTO_INCREMENT for table `email_settings` | |
-- | |
ALTER TABLE `email_settings` | |
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; | |
-- | |
-- AUTO_INCREMENT for table `essay_siswa` | |
-- | |
ALTER TABLE `essay_siswa` | |
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; | |
-- | |
-- AUTO_INCREMENT for table `failed_jobs` | |
-- | |
ALTER TABLE `failed_jobs` | |
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; | |
-- | |
-- AUTO_INCREMENT for table `files` | |
-- | |
ALTER TABLE `files` | |
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; | |
-- | |
-- AUTO_INCREMENT for table `guru` | |
-- | |
ALTER TABLE `guru` | |
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; | |
-- | |
-- AUTO_INCREMENT for table `gurukelas` | |
-- | |
ALTER TABLE `gurukelas` | |
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; | |
-- | |
-- AUTO_INCREMENT for table `gurumapel` | |
-- | |
ALTER TABLE `gurumapel` | |
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; | |
-- | |
-- AUTO_INCREMENT for table `jobs` | |
-- | |
ALTER TABLE `jobs` | |
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; | |
-- | |
-- AUTO_INCREMENT for table `kelas` | |
-- | |
ALTER TABLE `kelas` | |
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; | |
-- | |
-- AUTO_INCREMENT for table `mapel` | |
-- | |
ALTER TABLE `mapel` | |
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; | |
-- | |
-- AUTO_INCREMENT for table `materi` | |
-- | |
ALTER TABLE `materi` | |
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; | |
-- | |
-- AUTO_INCREMENT for table `migrations` | |
-- | |
ALTER TABLE `migrations` | |
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT; | |
-- | |
-- AUTO_INCREMENT for table `notifications` | |
-- | |
ALTER TABLE `notifications` | |
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; | |
-- | |
-- AUTO_INCREMENT for table `pg_siswa` | |
-- | |
ALTER TABLE `pg_siswa` | |
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; | |
-- | |
-- AUTO_INCREMENT for table `siswa` | |
-- | |
ALTER TABLE `siswa` | |
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; | |
-- | |
-- AUTO_INCREMENT for table `tokens` | |
-- | |
ALTER TABLE `tokens` | |
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; | |
-- | |
-- AUTO_INCREMENT for table `tugas` | |
-- | |
ALTER TABLE `tugas` | |
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; | |
-- | |
-- AUTO_INCREMENT for table `tugas_siswa` | |
-- | |
ALTER TABLE `tugas_siswa` | |
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; | |
-- | |
-- AUTO_INCREMENT for table `ujian` | |
-- | |
ALTER TABLE `ujian` | |
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; | |
-- | |
-- AUTO_INCREMENT for table `userchat` | |
-- | |
ALTER TABLE `userchat` | |
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; | |
-- | |
-- AUTO_INCREMENT for table `waktu_ujian` | |
-- | |
ALTER TABLE `waktu_ujian` | |
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; | |
COMMIT; | |
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; | |
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; | |
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment