text: -- phpMyAdmin SQL Dump
  -- version 4.7.9
  -- https://www.phpmyadmin.net/
  --
  -- Host: 127.0.0.1
  -- Generation Time: Jul 11, 2018 at 05:53 PM
  -- Server version: 10.1.31-MariaDB
  -- PHP Version: 7.2.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: `pelikan`
  --
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `kategori`
  --
  
  CREATE TABLE `kategori` (
    `id_kategori` int(3) NOT NULL,
    `nama` varchar(40) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  
  --
  -- Dumping data for table `kategori`
  --
  
  INSERT INTO `kategori` (`id_kategori`, `nama`) VALUES
  (3, 'Asap Kendaraan'),
  (4, 'Asap Rokok'),
  (5, 'Asap Pabrik'),
  (6, 'Asap Rumah Tangga');
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `lokasi`
  --
  
  CREATE TABLE `lokasi` (
    `id_lokasi` int(4) NOT NULL,
    `lat` float(10,6) NOT NULL,
    `lng` float(10,6) NOT NULL,
    `keterangan` text NOT NULL,
    `id_kategori` int(3) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  
  --
  -- Dumping data for table `lokasi`
  --
  
  INSERT INTO `lokasi` (`id_lokasi`, `lat`, `lng`, `keterangan`, `id_kategori`) VALUES
  (1, -6.916747, 107.588882, 'Sangat Panas', 3),
  (2, -6.923328, 107.538521, 'Sering ada bau tidak sedap dari limbah buangan pabrik', 5),
  (3, -6.880542, 107.582733, 'Sering Macet', 3);
  
  --
  -- Indexes for dumped tables
  --
  
  --
  -- Indexes for table `kategori`
  --
  ALTER TABLE `kategori`
    ADD PRIMARY KEY (`id_kategori`);
  
  --
  -- Indexes for table `lokasi`
  --
  ALTER TABLE `lokasi`
    ADD PRIMARY KEY (`id_lokasi`);
  
  --
  -- AUTO_INCREMENT for dumped tables
  --
  
  --
  -- AUTO_INCREMENT for table `kategori`
  --
  ALTER TABLE `kategori`
    MODIFY `id_kategori` int(3) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
  
  --
  -- AUTO_INCREMENT for table `lokasi`
  --
  ALTER TABLE `lokasi`
    MODIFY `id_lokasi` int(4) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
  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 */;
  