text: -- phpMyAdmin SQL Dump
  -- version 4.7.4
  -- https://www.phpmyadmin.net/
  --
  -- Host: 127.0.0.1
  -- Generation Time: Mar 29, 2019 at 05:06 AM
  -- Server version: 10.1.28-MariaDB
  -- PHP Version: 7.1.11
  
  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: `epem`
  --
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `bahan`
  --
  
  CREATE TABLE `bahan` (
    `id_bahan` int(11) NOT NULL,
    `nama_bahan` varchar(255) NOT NULL,
    `status_bahan` tinyint(1) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  
  --
  -- Dumping data for table `bahan`
  --
  
  INSERT INTO `bahan` (`id_bahan`, `nama_bahan`, `status_bahan`) VALUES
  (7, 'Coba', 0);
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `jenis_kategori`
  --
  
  CREATE TABLE `jenis_kategori` (
    `id_jenis_kategori` varchar(10) NOT NULL,
    `nama_jenis_kategori` varchar(50) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  
  --
  -- Dumping data for table `jenis_kategori`
  --
  
  INSERT INTO `jenis_kategori` (`id_jenis_kategori`, `nama_jenis_kategori`) VALUES
  ('JK01', 'Kusen'),
  ('JK02', 'Mebel');
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `kategori`
  --
  
  CREATE TABLE `kategori` (
    `id_kategori` int(11) NOT NULL,
    `id_jenis_kategori` varchar(10) NOT NULL,
    `nama_kategori` varchar(255) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  
  --
  -- Dumping data for table `kategori`
  --
  
  INSERT INTO `kategori` (`id_kategori`, `id_jenis_kategori`, `nama_kategori`) VALUES
  (24, 'JK01', 'Daun Pintu'),
  (26, 'JK02', 'Kursi'),
  (27, 'JK02', 'Meja');
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `migrations`
  --
  
  CREATE TABLE `migrations` (
    `version` bigint(20) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  
  --
  -- Dumping data for table `migrations`
  --
  
  INSERT INTO `migrations` (`version`) VALUES
  (1);
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `testimoni`
  --
  
  CREATE TABLE `testimoni` (
    `id_testimoni` int(11) NOT NULL,
    `gambar` varchar(255) NOT NULL,
    `tanggal` date NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  
  --
  -- Dumping data for table `testimoni`
  --
  
  INSERT INTO `testimoni` (`id_testimoni`, `gambar`, `tanggal`) VALUES
  (57, '190328123241.png', '2019-03-24'),
  (58, '190328011612.png', '2019-03-28');
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `user`
  --
  
  CREATE TABLE `user` (
    `id` int(11) NOT NULL,
    `email` varchar(255) NOT NULL,
    `password` varchar(255) NOT NULL,
    `is_active` int(11) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  
  --
  -- Dumping data for table `user`
  --
  
  INSERT INTO `user` (`id`, `email`, `password`, `is_active`) VALUES
  (1, 'admin@gmail.com', '$2y$10$E0ijyHUMDcwpCnVxiAFEteK/uNwDlA/wglLlrdUnCsK1g2hq836ru', 1);
  
  --
  -- Indexes for dumped tables
  --
  
  --
  -- Indexes for table `bahan`
  --
  ALTER TABLE `bahan`
    ADD PRIMARY KEY (`id_bahan`);
  
  --
  -- Indexes for table `jenis_kategori`
  --
  ALTER TABLE `jenis_kategori`
    ADD PRIMARY KEY (`id_jenis_kategori`);
  
  --
  -- Indexes for table `kategori`
  --
  ALTER TABLE `kategori`
    ADD PRIMARY KEY (`id_kategori`);
  
  --
  -- Indexes for table `testimoni`
  --
  ALTER TABLE `testimoni`
    ADD PRIMARY KEY (`id_testimoni`);
  
  --
  -- Indexes for table `user`
  --
  ALTER TABLE `user`
    ADD PRIMARY KEY (`id`);
  
  --
  -- AUTO_INCREMENT for dumped tables
  --
  
  --
  -- AUTO_INCREMENT for table `bahan`
  --
  ALTER TABLE `bahan`
    MODIFY `id_bahan` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
  
  --
  -- AUTO_INCREMENT for table `kategori`
  --
  ALTER TABLE `kategori`
    MODIFY `id_kategori` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=28;
  
  --
  -- AUTO_INCREMENT for table `testimoni`
  --
  ALTER TABLE `testimoni`
    MODIFY `id_testimoni` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=59;
  
  --
  -- AUTO_INCREMENT for table `user`
  --
  ALTER TABLE `user`
    MODIFY `id` int(11) 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 */;
  