text: -- phpMyAdmin SQL Dump
  -- version 5.0.1
  -- https://www.phpmyadmin.net/
  --
  -- Host: 127.0.0.1
  -- Generation Time: Dec 22, 2020 at 04:43 AM
  -- Server version: 10.4.11-MariaDB
  -- PHP Version: 7.4.3
  
  SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
  SET AUTOCOMMIT = 0;
  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: `magang`
  --
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `magang`
  --
  
  CREATE TABLE `magang` (
    `id` bigint(20) UNSIGNED NOT NULL,
    `nim` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
    `nama` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
    `jenis_kelamin` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
    `agama` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
    `alamat` text COLLATE utf8mb4_unicode_ci NOT NULL,
    `no_tlp` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
    `asal` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
    `divisi` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
    `avatar` varchar(255) 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 `magang`
  --
  
  INSERT INTO `magang` (`id`, `nim`, `nama`, `jenis_kelamin`, `agama`, `alamat`, `no_tlp`, `asal`, `divisi`, `avatar`, `created_at`, `updated_at`) VALUES
  (11, '4817070982', 'Zhafran', 'L', 'islam', 'Pondok Rajeg', '08812345678', 'Politeknik Negeri Jakarta', 'Bagian Layanan Komunikasi dan Informatika', 'CAM00238.jpg', '2020-12-21 05:26:32', '2020-12-21 05:27:03'),
  (12, '4817070954', 'Muhamad Arijal', 'L', 'Islam', 'Sukabumi', '081283759471', 'Politeknik Negeri Jakarta', 'Layanan Komunikasi dan Informatika', NULL, '2020-12-21 19:37:27', '2020-12-21 19:37:27');
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `magang_pembimbing`
  --
  
  CREATE TABLE `magang_pembimbing` (
    `id` int(11) NOT NULL,
    `magang_id` int(11) NOT NULL,
    `pembimbing_id` int(11) NOT NULL,
    `nilai` int(11) NOT NULL,
    `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
    `updated_at` datetime NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  
  --
  -- Dumping data for table `magang_pembimbing`
  --
  
  INSERT INTO `magang_pembimbing` (`id`, `magang_id`, `pembimbing_id`, `nilai`, `created_at`, `updated_at`) VALUES
  (1, 8, 3, 20, '2020-12-16 02:55:28', '0000-00-00 00:00:00'),
  (3, 3, 3, 40, '2020-12-16 03:29:16', '0000-00-00 00:00:00');
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `migrations`
  --
  
  CREATE TABLE `migrations` (
    `id` int(10) UNSIGNED NOT NULL,
    `migration` varchar(191) 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),
  (3, '2020_12_06_071013_create_magang_table', 1),
  (4, '2020_12_14_173021_create_pembimbing_table', 2),
  (5, '2020_12_15_070155_create_divisi_table', 3),
  (6, '2020_12_15_152624_create_kampus_table', 4),
  (7, '2020_12_16_064527_create_sekolah_table', 5);
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `password_resets`
  --
  
  CREATE TABLE `password_resets` (
    `email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
    `token` varchar(191) 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 `pembimbing`
  --
  
  CREATE TABLE `pembimbing` (
    `id` bigint(20) UNSIGNED NOT NULL,
    `nama` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
    `bidang` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
    `jabatan` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
    `jenis_kelamin` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
    `agama` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
    `alamat` text COLLATE utf8mb4_unicode_ci NOT NULL,
    `avatar` 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 for table `pembimbing`
  --
  
  INSERT INTO `pembimbing` (`id`, `nama`, `bidang`, `jabatan`, `jenis_kelamin`, `agama`, `alamat`, `avatar`, `created_at`, `updated_at`) VALUES
  (7, 'Ilham Maulana', 'Layanan Komunikasi dan Informatika', 'Kasie', 'L', 'islam', 'Cibinong', 'Kyojuro_anime.png', '2020-12-21 05:25:07', '2020-12-21 20:42:58');
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `users`
  --
  
  CREATE TABLE `users` (
    `id` bigint(20) UNSIGNED NOT NULL,
    `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
    `email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
    `email_verified_at` timestamp NULL DEFAULT NULL,
    `password` varchar(191) 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`, `email_verified_at`, `password`, `remember_token`, `created_at`, `updated_at`) VALUES
  (1, 'Bogor', 'bogor@gmail.com', NULL, '$2y$10$myVcTLUoEYdzUJyYlFjQ6ew7nL7TrQOtOnULiU/5PBNOEl79Vq52C', 'ya2topO6sLRpOeUs0mREjPgxB78Ho34beyDq4iXbqI9b43teadd69bFrkkRx', '2020-12-10 02:44:12', '2020-12-10 02:44:12');
  
  --
  -- Indexes for dumped tables
  --
  
  --
  -- Indexes for table `magang`
  --
  ALTER TABLE `magang`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `magang_pembimbing`
  --
  ALTER TABLE `magang_pembimbing`
    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`);
  
  --
  -- Indexes for table `pembimbing`
  --
  ALTER TABLE `pembimbing`
    ADD PRIMARY KEY (`id`);
  
  --
  -- 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 `magang`
  --
  ALTER TABLE `magang`
    MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;
  
  --
  -- AUTO_INCREMENT for table `magang_pembimbing`
  --
  ALTER TABLE `magang_pembimbing`
    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=8;
  
  --
  -- AUTO_INCREMENT for table `pembimbing`
  --
  ALTER TABLE `pembimbing`
    MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
  
  --
  -- AUTO_INCREMENT for table `users`
  --
  ALTER TABLE `users`
    MODIFY `id` bigint(20) 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 */;
  