-- phpMyAdmin SQL Dump
-- version 4.7.4
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Jul 08, 2019 at 05:09 PM
-- Server version: 10.1.26-MariaDB
-- PHP Version: 7.1.9

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: `db_gis_umkm`
--

-- --------------------------------------------------------

--
-- Table structure for table `lokasi`
--

CREATE TABLE `lokasi` (
  `id_lokasi` varchar(15) NOT NULL,
  `nm_lokasi` varchar(50) NOT NULL,
  `nm_produk` varchar(35) NOT NULL,
  `kategori` varchar(35) NOT NULL,
  `pemilik` varchar(35) NOT NULL,
  `id_nag` varchar(10) NOT NULL,
  `alamat` varchar(100) NOT NULL,
  `telp` varchar(13) NOT NULL,
  `foto` varchar(100) NOT NULL,
  `lat` varchar(30) NOT NULL,
  `lon` varchar(30) NOT NULL,
  `tgl_input` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `id_admin` varchar(15) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `lokasi`
--

INSERT INTO `lokasi` (`id_lokasi`, `nm_lokasi`, `nm_produk`, `kategori`, `pemilik`, `id_nag`, `alamat`, `telp`, `foto`, `lat`, `lon`, `tgl_input`, `id_admin`) VALUES
('KL32810240', 'asdasda', 'sadasd', 'Makanan', 'asdasd', '3273130001', 'asdasdas', '3242342342', '1560001654.jpg', '-6.930873338089966', '107.62002536347654', '2019-06-08 13:47:34', 'AD835h45'),
('KL47680736', 'Arcamanik', 'Keripik', 'Kuliner', 'Endang', '3273130002', 'Jl Golf Selatan IV', '00021', '1560853951.png', '-6.932948985191842', '107.60158784823079', '2019-06-18 10:32:31', 'AD835h45'),
('KL48834541', 'asdasd', 'sadda', 'Makanan', 'asdasd', '3273130001', 'sadasda', '23423423', '1560001784.jpg', '-6.961700098126732', '107.62224197387695', '2019-06-08 13:49:44', 'AD835h45'),
('KL71218212', 'asdasdas12121', 'asdasd 13123', 'Makanan', 'asdasda', '3273130001', 'asadsda', '3424234', '1559979839.jpg', '-6.913433015317223', '107.62709140777588', '2019-06-08 07:43:59', 'PG74043464');

--
-- Indexes for dumped tables
--

--
-- Indexes for table `lokasi`
--
ALTER TABLE `lokasi`
  ADD PRIMARY KEY (`id_lokasi`);
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 */;
