text: -- phpMyAdmin SQL Dump
  -- version 5.0.4
  -- https://www.phpmyadmin.net/
  --
  -- Host: 127.0.0.1
  -- Waktu pembuatan: 13 Jan 2021 pada 14.10
  -- Versi server: 10.4.17-MariaDB
  -- Versi PHP: 7.4.13
  
  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: `cobaauth`
  --
  
  -- --------------------------------------------------------
  
  --
  -- Struktur dari tabel `assignments`
  --
  
  CREATE TABLE `assignments` (
    `id` bigint(20) UNSIGNED NOT NULL,
    `nama_tugas` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `lampiran` text COLLATE utf8mb4_unicode_ci 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 untuk tabel `assignments`
  --
  
  INSERT INTO `assignments` (`id`, `nama_tugas`, `lampiran`, `created_at`, `updated_at`) VALUES
  (1, 'tugas ipa', 'ini tugas ipaaaa', '2021-01-13 05:30:15', '2021-01-13 05:30:25');
  
  -- --------------------------------------------------------
  
  --
  -- Struktur dari tabel `failed_jobs`
  --
  
  CREATE TABLE `failed_jobs` (
    `id` bigint(20) UNSIGNED NOT NULL,
    `connection` text COLLATE utf8mb4_unicode_ci NOT NULL,
    `queue` text COLLATE utf8mb4_unicode_ci NOT NULL,
    `payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
    `exception` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
    `failed_at` timestamp NOT NULL DEFAULT current_timestamp()
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  
  -- --------------------------------------------------------
  
  --
  -- Struktur dari tabel `materis`
  --
  
  CREATE TABLE `materis` (
    `id` bigint(20) UNSIGNED NOT NULL,
    `judul_materi` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `file_upload` text COLLATE utf8mb4_unicode_ci 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 untuk tabel `materis`
  --
  
  INSERT INTO `materis` (`id`, `judul_materi`, `file_upload`, `created_at`, `updated_at`) VALUES
  (1, 'IPA', 'ini matkul ipa 2', '2021-01-13 05:28:50', '2021-01-13 05:29:03');
  
  -- --------------------------------------------------------
  
  --
  -- Struktur dari tabel `migrations`
  --
  
  CREATE TABLE `migrations` (
    `id` int(10) UNSIGNED NOT NULL,
    `migration` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `batch` int(11) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  
  --
  -- Dumping data untuk tabel `migrations`
  --
  
  INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
  (16, '2021_01_12_145056_create_siswa_table', 1),
  (21, '2014_10_12_000000_create_users_table', 2),
  (22, '2014_10_12_100000_create_password_resets_table', 2),
  (23, '2019_08_19_000000_create_failed_jobs_table', 2),
  (24, '2021_01_03_044329_create_materis_table', 2),
  (25, '2021_01_07_041024_create_assignments_table', 2),
  (26, '2021_01_07_072052_create_presences_table', 2),
  (27, '2021_01_12_145056_create_pengguna_table', 3);
  
  -- --------------------------------------------------------
  
  --
  -- Struktur dari tabel `password_resets`
  --
  
  CREATE TABLE `password_resets` (
    `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `token` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `created_at` timestamp NULL DEFAULT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  
  -- --------------------------------------------------------
  
  --
  -- Struktur dari tabel `pengguna`
  --
  
  CREATE TABLE `pengguna` (
    `id` int(10) UNSIGNED NOT NULL,
    `user_id` int(11) DEFAULT NULL,
    `nama_depan` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `nama_belakang` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `jenis_kelamin` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `agama` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `alamat` text COLLATE utf8mb4_unicode_ci 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 untuk tabel `pengguna`
  --
  
  INSERT INTO `pengguna` (`id`, `user_id`, `nama_depan`, `nama_belakang`, `jenis_kelamin`, `agama`, `alamat`, `created_at`, `updated_at`) VALUES
  (1, 4, 'in', 'dah', 'p', 'islam', 'cilacap', '2021-01-13 04:53:00', '2021-01-13 04:53:00'),
  (2, 5, 'via', 'a', 'p', 'islam', 'wonogiri', '2021-01-13 05:24:36', '2021-01-13 05:24:36');
  
  -- --------------------------------------------------------
  
  --
  -- Struktur dari tabel `presences`
  --
  
  CREATE TABLE `presences` (
    `id` bigint(20) UNSIGNED NOT NULL,
    `nama_siswa` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `status` varchar(255) COLLATE utf8mb4_unicode_ci 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 untuk tabel `presences`
  --
  
  INSERT INTO `presences` (`id`, `nama_siswa`, `status`, `created_at`, `updated_at`) VALUES
  (1, 'indah', 'hadir', '2021-01-12 17:00:00', NULL),
  (2, 'indah', 'hadir', '2021-01-12 17:00:00', NULL);
  
  -- --------------------------------------------------------
  
  --
  -- Struktur dari tabel `users`
  --
  
  CREATE TABLE `users` (
    `id` bigint(20) UNSIGNED NOT NULL,
    `role` varchar(45) COLLATE utf8mb4_unicode_ci NOT NULL,
    `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `email_verified_at` timestamp NULL DEFAULT NULL,
    `password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
    `created_at` timestamp NULL DEFAULT NULL,
    `updated_at` timestamp NULL DEFAULT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  
  --
  -- Dumping data untuk tabel `users`
  --
  
  INSERT INTO `users` (`id`, `role`, `name`, `email`, `email_verified_at`, `password`, `remember_token`, `created_at`, `updated_at`) VALUES
  (1, 'admin', 'Indah Khoirun Nisa', 'indah@gmail.com', NULL, '$2y$10$UnZOjtidVblIlTSumDodP.5B.p.NEE/G8zj8TADJ291elWXjBo3Fm', NULL, '2021-01-13 04:49:38', '2021-01-13 04:49:38'),
  (4, 'siswa', 'in', 'in@gmail.com', NULL, '$2y$10$kx/XuTOKj4VoZ4zFnx5ne.HtJr.7u..Vdz/uB2I8MC6C0Cvh8xMb6', 'kHjWLBTxgbRWObv0WPkjRjUtNjaCiVNd6KsVEMXV3Fq3QmrtBkgnM6NVRXFE', '2021-01-13 04:53:00', '2021-01-13 04:53:00'),
  (5, 'guru', 'via', 'via@gmail.com', NULL, '$2y$10$TYblfXAYwcGxAHq0Wf4IYeZOotUTbZgCsNEK6tPuATcE1GxZiCdHm', '6npFRQqbjQ5nFXkin8DaSl6RP3mCM3dzAbmViwJeAUncsZUXC1fc8hpwetPi', '2021-01-13 05:24:36', '2021-01-13 05:24:36'),
  (6, 'admin', 'admin', 'admin@gmail.com', NULL, '$2y$10$.8DSmPK2dsdh8LEMtjwWPuf9Ltjm4sZhz9f6e.CDBUpUighV/d1eK', 'M8CUHYNyJWtzyj9i7JEhJMHFlHLCyPGYaSI0nvPlNeSwIGJaT1yRObKotiLi', '2021-01-13 05:46:38', '2021-01-13 05:46:38');
  
  --
  -- Indexes for dumped tables
  --
  
  --
  -- Indeks untuk tabel `assignments`
  --
  ALTER TABLE `assignments`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indeks untuk tabel `failed_jobs`
  --
  ALTER TABLE `failed_jobs`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indeks untuk tabel `materis`
  --
  ALTER TABLE `materis`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indeks untuk tabel `migrations`
  --
  ALTER TABLE `migrations`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indeks untuk tabel `password_resets`
  --
  ALTER TABLE `password_resets`
    ADD KEY `password_resets_email_index` (`email`);
  
  --
  -- Indeks untuk tabel `pengguna`
  --
  ALTER TABLE `pengguna`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indeks untuk tabel `presences`
  --
  ALTER TABLE `presences`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indeks untuk tabel `users`
  --
  ALTER TABLE `users`
    ADD PRIMARY KEY (`id`),
    ADD UNIQUE KEY `users_email_unique` (`email`);
  
  --
  -- AUTO_INCREMENT untuk tabel yang dibuang
  --
  
  --
  -- AUTO_INCREMENT untuk tabel `assignments`
  --
  ALTER TABLE `assignments`
    MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
  
  --
  -- AUTO_INCREMENT untuk tabel `failed_jobs`
  --
  ALTER TABLE `failed_jobs`
    MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
  
  --
  -- AUTO_INCREMENT untuk tabel `materis`
  --
  ALTER TABLE `materis`
    MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
  
  --
  -- AUTO_INCREMENT untuk tabel `migrations`
  --
  ALTER TABLE `migrations`
    MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=28;
  
  --
  -- AUTO_INCREMENT untuk tabel `pengguna`
  --
  ALTER TABLE `pengguna`
    MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
  
  --
  -- AUTO_INCREMENT untuk tabel `presences`
  --
  ALTER TABLE `presences`
    MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
  
  --
  -- AUTO_INCREMENT untuk tabel `users`
  --
  ALTER TABLE `users`
    MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
  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 */;
  