text: -- phpMyAdmin SQL Dump
  -- version 4.9.0.1
  -- https://www.phpmyadmin.net/
  --
  -- Host: 127.0.0.1
  -- Waktu pembuatan: 04 Apr 2021 pada 16.38
  -- Versi server: 10.4.6-MariaDB
  -- Versi PHP: 7.3.8
  
  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: `sikemas`
  --
  
  -- --------------------------------------------------------
  
  --
  -- Struktur dari tabel `masyarakat`
  --
  
  CREATE TABLE `masyarakat` (
    `nik` varchar(16) NOT NULL,
    `nama` varchar(35) NOT NULL,
    `username` varchar(25) NOT NULL,
    `password` varchar(32) NOT NULL,
    `telp` varchar(13) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  
  --
  -- Dumping data untuk tabel `masyarakat`
  --
  
  INSERT INTO `masyarakat` (`nik`, `nama`, `username`, `password`, `telp`) VALUES
  ('1234567890098768', 'Rachmat Ardico', 'rachmat99', '202cb962ac59075b964b07152d234b70', '085357017164'),
  ('8726438265789032', 'Rachmat Siapa Hayoo', '', '', '089681527721');
  
  -- --------------------------------------------------------
  
  --
  -- Struktur dari tabel `pengaduan`
  --
  
  CREATE TABLE `pengaduan` (
    `id_pengaduan` int(11) NOT NULL,
    `tgl_pengaduan` date NOT NULL,
    `nik` varchar(16) NOT NULL,
    `isi_laporan` text NOT NULL,
    `foto` varchar(255) NOT NULL,
    `status` enum('0','proses','selesai','') NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  
  --
  -- Dumping data untuk tabel `pengaduan`
  --
  
  INSERT INTO `pengaduan` (`id_pengaduan`, `tgl_pengaduan`, `nik`, `isi_laporan`, `foto`, `status`) VALUES
  (16, '2020-03-18', '1234567890098768', 'luiugwaoiliwarafawfaw', '48412891_953066735081117_6155129052215640064_n8.jpg', 'selesai'),
  (18, '2020-03-18', '1234567890098768', 'ikadyhwowahgawdawawfgar', '48412891_953066735081117_6155129052215640064_n10.jpg', 'proses'),
  (20, '2021-02-08', '1234567890098768', 'ae/ojaefn;ugakefukagbfkvawbfaelejbf', '48412891_953066735081117_6155129052215640064_n21.jpg', 'proses'),
  (21, '2021-02-08', '1234567890098768', 'lih;k;jo;hkhhvjhjh', '48412891_953066735081117_6155129052215640064_n22.jpg', 'proses');
  
  -- --------------------------------------------------------
  
  --
  -- Struktur dari tabel `petugas`
  --
  
  CREATE TABLE `petugas` (
    `id_petugas` int(11) NOT NULL,
    `nama_petugas` varchar(35) NOT NULL,
    `username` varchar(25) NOT NULL,
    `password` varchar(32) NOT NULL,
    `telp` varchar(13) NOT NULL,
    `level` enum('Admin','Petugas','','') NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  
  --
  -- Dumping data untuk tabel `petugas`
  --
  
  INSERT INTO `petugas` (`id_petugas`, `nama_petugas`, `username`, `password`, `telp`, `level`) VALUES
  (11, 'Petugas A', 'petugas', '202cb962ac59075b964b07152d234b70', '085376813213', 'Petugas'),
  (12, 'Rachmat Ardico Perdana', 'Ardico99', '202cb962ac59075b964b07152d234b70', '085366848378', 'Admin');
  
  --
  -- Indexes for dumped tables
  --
  
  --
  -- Indeks untuk tabel `masyarakat`
  --
  ALTER TABLE `masyarakat`
    ADD PRIMARY KEY (`nik`);
  
  --
  -- Indeks untuk tabel `pengaduan`
  --
  ALTER TABLE `pengaduan`
    ADD PRIMARY KEY (`id_pengaduan`);
  
  --
  -- Indeks untuk tabel `petugas`
  --
  ALTER TABLE `petugas`
    ADD PRIMARY KEY (`id_petugas`);
  
  --
  -- AUTO_INCREMENT untuk tabel yang dibuang
  --
  
  --
  -- AUTO_INCREMENT untuk tabel `pengaduan`
  --
  ALTER TABLE `pengaduan`
    MODIFY `id_pengaduan` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=22;
  
  --
  -- AUTO_INCREMENT untuk tabel `petugas`
  --
  ALTER TABLE `petugas`
    MODIFY `id_petugas` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;
  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 */;
  