text: -- phpMyAdmin SQL Dump
  -- version 5.0.4
  -- https://www.phpmyadmin.net/
  --
  -- Host: localhost
  -- Generation Time: Dec 10, 2020 at 01:21 PM
  -- Server version: 10.4.17-MariaDB
  -- PHP Version: 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: `db_laravel`
  --
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `berita`
  --
  
  CREATE TABLE `berita` (
    `id` int(11) NOT NULL,
    `foto` varchar(50) DEFAULT NULL,
    `judul` varchar(50) NOT NULL,
    `isi` text NOT NULL,
    `tanggal` varchar(50) NOT NULL,
    `penulis` varchar(50) NOT NULL,
    `kategori` varchar(20) NOT NULL,
    `keterangan` varchar(20) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  
  --
  -- Dumping data for table `berita`
  --
  
  INSERT INTO `berita` (`id`, `foto`, `judul`, `isi`, `tanggal`, `penulis`, `kategori`, `keterangan`) VALUES
  (1, NULL, 'aaaaaa', 'aaaa', 'aaaa', 'aaaa', 'aaa', 'aaaa'),
  (2, NULL, 'judul lagi', 'isi lagi', 'tanggal lagi', 'penulis lagi', 'kategori lagi', 'keterangan lagi'),
  (3, NULL, 'coba judul', 'isi isi isis', 'oke tanggal', 'coba penulis', 'coba katogri', 'coba keteraangan'),
  (4, NULL, 'aaaaa', 'dddd', 'ggggg', 'bbbb', 'eeee', 'ccccc');
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `data_tugas`
  --
  
  CREATE TABLE `data_tugas` (
    `id` int(11) NOT NULL,
    `kelas_t` varchar(50) NOT NULL,
    `mapel_t` varchar(50) NOT NULL,
    `tanggal_t` varchar(50) NOT NULL,
    `jenis_t` varchar(50) NOT NULL,
    `file_t` varchar(50) NOT NULL,
    `id_guru_t` int(11) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  
  --
  -- Dumping data for table `data_tugas`
  --
  
  INSERT INTO `data_tugas` (`id`, `kelas_t`, `mapel_t`, `tanggal_t`, `jenis_t`, `file_t`, `id_guru_t`) VALUES
  (1, 'COBA dieti', 'siap ni mapel apa', '12-12-2012', 'OKe', 'siap', 2);
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `komentar_berita`
  --
  
  CREATE TABLE `komentar_berita` (
    `id` int(11) NOT NULL,
    `nama_kom` varchar(50) NOT NULL,
    `tanggal_kom` varchar(20) NOT NULL,
    `komentar` varchar(200) NOT NULL,
    `id_berita` int(11) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  
  --
  -- Dumping data for table `komentar_berita`
  --
  
  INSERT INTO `komentar_berita` (`id`, `nama_kom`, `tanggal_kom`, `komentar`, `id_berita`) VALUES
  (3, 'oke siap', 'okadpokwd', 'pok', 1);
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `materi_guru`
  --
  
  CREATE TABLE `materi_guru` (
    `id` int(11) NOT NULL,
    `mapel` varchar(50) NOT NULL,
    `kelas` varchar(50) NOT NULL,
    `jenis` varchar(50) NOT NULL,
    `file` varchar(50) NOT NULL,
    `catatan` varchar(50) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  
  --
  -- Dumping data for table `materi_guru`
  --
  
  INSERT INTO `materi_guru` (`id`, `mapel`, `kelas`, `jenis`, `file`, `catatan`) VALUES
  (1, 'MOPOL', 'OKE', 'MOSOK', 'SIAP', 'OKE OKE SIAP JOS JOS'),
  (3, 'ok', 'ok', 'ok', 'ok', 'ok');
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `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 for table `migrations`
  --
  
  INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
  (1, '2014_10_12_000000_create_users_table', 1),
  (2, '2014_10_12_100000_create_password_resets_table', 1);
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `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;
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `users`
  --
  
  CREATE TABLE `users` (
    `id` int(10) UNSIGNED NOT NULL,
    `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT 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 for table `users`
  --
  
  INSERT INTO `users` (`id`, `name`, `email`, `password`, `remember_token`, `created_at`, `updated_at`) VALUES
  (1, 'admin', 'admin@sekolah.com', '$2y$10$9WaGfFh2rxUOCalb18Fh3Od214Va39uWrqihVG8lvrLuDMDAxXH0u', NULL, '2020-12-09 23:34:27', '2020-12-09 23:34:27');
  
  --
  -- Indexes for dumped tables
  --
  
  --
  -- Indexes for table `berita`
  --
  ALTER TABLE `berita`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `data_tugas`
  --
  ALTER TABLE `data_tugas`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `komentar_berita`
  --
  ALTER TABLE `komentar_berita`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `materi_guru`
  --
  ALTER TABLE `materi_guru`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `migrations`
  --
  ALTER TABLE `migrations`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `password_resets`
  --
  ALTER TABLE `password_resets`
    ADD KEY `password_resets_email_index` (`email`),
    ADD KEY `password_resets_token_index` (`token`);
  
  --
  -- Indexes for table `users`
  --
  ALTER TABLE `users`
    ADD PRIMARY KEY (`id`),
    ADD UNIQUE KEY `users_email_unique` (`email`);
  
  --
  -- AUTO_INCREMENT for dumped tables
  --
  
  --
  -- AUTO_INCREMENT for table `berita`
  --
  ALTER TABLE `berita`
    MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
  
  --
  -- AUTO_INCREMENT for table `data_tugas`
  --
  ALTER TABLE `data_tugas`
    MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
  
  --
  -- AUTO_INCREMENT for table `komentar_berita`
  --
  ALTER TABLE `komentar_berita`
    MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
  
  --
  -- AUTO_INCREMENT for table `materi_guru`
  --
  ALTER TABLE `materi_guru`
    MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
  
  --
  -- AUTO_INCREMENT for table `migrations`
  --
  ALTER TABLE `migrations`
    MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
  
  --
  -- AUTO_INCREMENT for table `users`
  --
  ALTER TABLE `users`
    MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
  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 */;
  