text: -- phpMyAdmin SQL Dump
  -- version 4.5.1
  -- http://www.phpmyadmin.net
  --
  -- Host: 127.0.0.1
  -- Generation Time: Dec 20, 2020 at 09:24 AM
  -- Server version: 10.1.13-MariaDB
  -- PHP Version: 5.6.23
  
  SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
  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_gunung`
  --
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `keys`
  --
  
  CREATE TABLE `keys` (
    `id` int(11) NOT NULL,
    `user_id` int(11) NOT NULL,
    `key` varchar(40) NOT NULL,
    `level` int(2) NOT NULL,
    `ignore_limits` tinyint(1) NOT NULL DEFAULT '0',
    `is_private_key` tinyint(1) NOT NULL DEFAULT '0',
    `ip_addresses` text,
    `date_created` int(11) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  
  --
  -- Dumping data for table `keys`
  --
  
  INSERT INTO `keys` (`id`, `user_id`, `key`, `level`, `ignore_limits`, `is_private_key`, `ip_addresses`, `date_created`) VALUES
  (1, 1, 'kdr123', 1, 0, 0, NULL, 1);
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `limits`
  --
  
  CREATE TABLE `limits` (
    `id` int(11) NOT NULL,
    `uri` varchar(255) NOT NULL,
    `count` int(10) NOT NULL,
    `hour_started` int(11) NOT NULL,
    `api_key` varchar(40) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  
  --
  -- Dumping data for table `limits`
  --
  
  INSERT INTO `limits` (`id`, `uri`, `count`, `hour_started`, `api_key`) VALUES
  (1, 'uri:api/pesanan/index:get', 18, 1608400635, 'kdr123');
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `pesanan`
  --
  
  CREATE TABLE `pesanan` (
    `id_pesan` int(12) NOT NULL,
    `nama_team` varchar(50) NOT NULL,
    `alamat` text NOT NULL,
    `tanggal_berangkat` varchar(50) NOT NULL,
    `tanggal_pulang` varchar(50) NOT NULL,
    `no_hp` varchar(16) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  
  --
  -- Dumping data for table `pesanan`
  --
  
  INSERT INTO `pesanan` (`id_pesan`, `nama_team`, `alamat`, `tanggal_berangkat`, `tanggal_pulang`, `no_hp`) VALUES
  (3, 'Amelia', 'Jl. Simpang Pakisaji No.60-62, Golek, Karangduren, Kec. Pakisaji, Malang', '10 Oktober 2020', '13 Oktober 2020', '082178906543'),
  (5, 'Bayu', 'Jl. Raya Made, Made, Kec. Lamongan, Kabupaten Lamongan', '05 November 2020', '07 November 2020', '085789342156'),
  (9, 'Alfian', 'kebun bibit, Jl. Wonorejo, Wonorejo, Kec. Rungkut, Kota Surabaya', '02 November 2020', '05 November 2020', '089765432123'),
  (10, 'Intan', 'Jalan Dusun Wringinanom, RT.07/RW.02, Simpar Utara, Wringinanom, Poncokusumo, Malang', '02 November 2020', '04 November 2020', '081335923877'),
  (11, 'Hartono', 'Jl. Kapten Tendean No.230B, Rejomulyo, Kec. Kota Kediri, Kota Kediri', '05 Desember 2020', '09 Desember 2020', '081752823282');
  
  --
  -- Indexes for dumped tables
  --
  
  --
  -- Indexes for table `keys`
  --
  ALTER TABLE `keys`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `limits`
  --
  ALTER TABLE `limits`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `pesanan`
  --
  ALTER TABLE `pesanan`
    ADD PRIMARY KEY (`id_pesan`);
  
  --
  -- AUTO_INCREMENT for dumped tables
  --
  
  --
  -- AUTO_INCREMENT for table `keys`
  --
  ALTER TABLE `keys`
    MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
  --
  -- AUTO_INCREMENT for table `limits`
  --
  ALTER TABLE `limits`
    MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
  --
  -- AUTO_INCREMENT for table `pesanan`
  --
  ALTER TABLE `pesanan`
    MODIFY `id_pesan` int(12) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;
  /*!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 */;
  