text: -- phpMyAdmin SQL Dump
  -- version 4.9.1
  -- https://www.phpmyadmin.net/
  --
  -- Host: 127.0.0.1
  -- Waktu pembuatan: 06 Feb 2020 pada 18.04
  -- Versi server: 10.4.8-MariaDB
  -- Versi PHP: 7.3.10
  
  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: `prpn_web`
  --
  
  -- --------------------------------------------------------
  
  --
  -- Struktur dari tabel `competitions`
  --
  
  CREATE TABLE `competitions` (
    `id` bigint(20) UNSIGNED NOT NULL,
    `title` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL,
    `slug` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `description` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
    `gallery` 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 untuk tabel `competitions`
  --
  
  INSERT INTO `competitions` (`id`, `title`, `slug`, `description`, `gallery`, `created_at`, `updated_at`) VALUES
  (1, 'Kompetisi Debat Pajak Nasional', 'kdpn', 'Sebuah kompetisi lomba depat bertema perpajakan', NULL, '2020-02-05 17:41:29', '2020-02-05 17:41:32'),
  (2, 'Highschool Tax Competition', 'hstc', 'Kompetisi Pajak untuk Para Siswa SMA', NULL, '2020-02-05 17:42:24', '2020-02-05 17:42:26'),
  (3, 'Stand Up Comedy Taxation', 'suct', 'Sebuah kompetisi lucu untuk Stand Up Comedy', NULL, '2020-02-05 17:46:32', '2020-02-05 17:46:35'),
  (4, 'Tax Article Comic Ads Photograph', 'tacap', NULL, NULL, '2020-02-06 12:44:16', '2020-02-06 12:44:20'),
  (5, 'Three Minutes Thesis', '3mt', NULL, NULL, '2020-02-06 14:52:58', '2020-02-06 14:53:02');
  
  -- --------------------------------------------------------
  
  --
  -- Struktur dari tabel `datas`
  --
  
  CREATE TABLE `datas` (
    `id` bigint(20) UNSIGNED NOT NULL,
    `id_user` int(11) NOT NULL,
    `id_competition` int(11) NOT NULL,
    `team_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
    `captain` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
    `university` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Umum',
    `registration_form` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `transaction` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
    `teacher` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
    `teacher_contact` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
    `job` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
    `address` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
    `age` int(11) DEFAULT NULL,
    `creation` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
    `grade` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
    `branch` 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;
  
  -- --------------------------------------------------------
  
  --
  -- 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 `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
  (4, '2014_10_12_000000_create_users_table', 1),
  (5, '2014_10_12_100000_create_password_resets_table', 1),
  (6, '2019_08_19_000000_create_failed_jobs_table', 1),
  (7, '2020_02_05_172520_create_competitions_table', 2),
  (8, '2020_02_06_143504_create_datas_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 `users`
  --
  
  CREATE TABLE `users` (
    `id` bigint(20) UNSIGNED 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,
    `id_level` int(11) NOT NULL DEFAULT 2,
    `id_competition` int(11) NOT NULL DEFAULT 0,
    `city` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
    `whatsapp` varchar(15) COLLATE utf8mb4_unicode_ci NOT NULL,
    `line` varchar(15) COLLATE utf8mb4_unicode_ci NOT NULL,
    `status` varchar(1) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
    `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`, `name`, `email`, `email_verified_at`, `password`, `remember_token`, `id_level`, `id_competition`, `city`, `whatsapp`, `line`, `status`, `created_at`, `updated_at`) VALUES
  (1, 'Moh. Walid Arkham Sani', 'mohwalidas2@gmail.com', NULL, '$2y$10$waxDyAStsQFRjprLvCiHae.7XKvvtQuL/7RdvpzIVEo8Eu7rfnIcC', 'dmVu5bJoj3pL4hWHggpNjqBTOFPlmtaTaemY9yaibTcnFjFJPtneA1KiN9sq', 2, 1, 'Banyuwangi', '083879101232', '-mohwalidas-', '0', '2020-02-05 10:17:15', '2020-02-05 10:17:15'),
  (2, 'Setya Nanda Pratiwi', 'setyanandap@gmail.com', NULL, '$2y$10$Ed5rxdXtksGChhvU0.LftewL0ODSVIfHXA/A6MnyIC9UWG6r9NA.C', NULL, 2, 4, 'Banyuwangi', '083879101232', 'setyannd', '0', '2020-02-06 07:30:21', '2020-02-06 07:30:21');
  
  --
  -- Indexes for dumped tables
  --
  
  --
  -- Indeks untuk tabel `competitions`
  --
  ALTER TABLE `competitions`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indeks untuk tabel `datas`
  --
  ALTER TABLE `datas`
    ADD PRIMARY KEY (`id`),
    ADD UNIQUE KEY `datas_id_user_unique` (`id_user`);
  
  --
  -- Indeks untuk tabel `failed_jobs`
  --
  ALTER TABLE `failed_jobs`
    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 `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 `competitions`
  --
  ALTER TABLE `competitions`
    MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
  
  --
  -- AUTO_INCREMENT untuk tabel `datas`
  --
  ALTER TABLE `datas`
    MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
  
  --
  -- AUTO_INCREMENT untuk tabel `failed_jobs`
  --
  ALTER TABLE `failed_jobs`
    MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
  
  --
  -- AUTO_INCREMENT untuk tabel `migrations`
  --
  ALTER TABLE `migrations`
    MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
  
  --
  -- AUTO_INCREMENT untuk tabel `users`
  --
  ALTER TABLE `users`
    MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
  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 */;
  