Update database dump
This commit is contained in:
+7
-97
@@ -3,7 +3,7 @@
|
||||
-- https://www.phpmyadmin.net/
|
||||
--
|
||||
-- Host: 127.0.0.1
|
||||
-- Generation Time: Jun 09, 2026 at 07:56 PM
|
||||
-- Generation Time: Jun 10, 2026 at 07:39 AM
|
||||
-- Server version: 10.4.32-MariaDB
|
||||
-- PHP Version: 8.0.30
|
||||
|
||||
@@ -20,120 +20,30 @@ SET time_zone = "+00:00";
|
||||
--
|
||||
-- Database: `webgis1`
|
||||
--
|
||||
CREATE DATABASE IF NOT EXISTS `webgis1` DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
|
||||
USE `webgis1`;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- Table structure for table `jalan`
|
||||
--
|
||||
|
||||
CREATE TABLE `jalan` (
|
||||
`id` int(11) NOT NULL,
|
||||
`nama_jalan` varchar(100) NOT NULL,
|
||||
`status` varchar(50) DEFAULT NULL,
|
||||
`panjang` double DEFAULT NULL,
|
||||
`geom` text NOT NULL,
|
||||
`created_at` timestamp NOT NULL DEFAULT current_timestamp()
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||
|
||||
--
|
||||
-- Dumping data for table `jalan`
|
||||
--
|
||||
|
||||
INSERT INTO `jalan` (`id`, `nama_jalan`, `status`, `panjang`, `geom`, `created_at`) VALUES
|
||||
(1, 'Jalan Reformasi', 'provinsi', 420.5, '{\"type\":\"Feature\",\"properties\":[],\"geometry\":{\"type\":\"LineString\",\"coordinates\":[[109.342975,-0.034847],[109.345,-0.035]]}}', '2026-06-09 13:57:06'),
|
||||
(2, 'jj', 'nasional', 4486.124983610099, '{\"type\":\"Feature\",\"properties\":{},\"geometry\":{\"type\":\"LineString\",\"coordinates\":[[109.342268,-0.046456],[109.344628,-0.041821],[109.355593,-0.034783],[109.360142,-0.031693],[109.361258,-0.029118],[109.362652,-0.024633],[109.363039,-0.019097],[109.362974,-0.015535]]}}', '2026-06-09 14:06:46');
|
||||
-- Error reading structure for table webgis1.jalan: #1932 - Table 'webgis1.jalan' doesn't exist in engine
|
||||
-- Error reading data for table webgis1.jalan: #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'FROM `webgis1`.`jalan`' at line 1
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- Table structure for table `kavling`
|
||||
--
|
||||
|
||||
CREATE TABLE `kavling` (
|
||||
`id` int(11) NOT NULL,
|
||||
`pemilik` varchar(100) NOT NULL,
|
||||
`status` varchar(50) DEFAULT NULL,
|
||||
`luas` double DEFAULT NULL,
|
||||
`geom` text NOT NULL,
|
||||
`created_at` timestamp NOT NULL DEFAULT current_timestamp()
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||
|
||||
--
|
||||
-- Dumping data for table `kavling`
|
||||
--
|
||||
|
||||
INSERT INTO `kavling` (`id`, `pemilik`, `status`, `luas`, `geom`, `created_at`) VALUES
|
||||
(1, 'Pak Budi', 'SHM', 2500, '{\"type\":\"Feature\",\"properties\":[],\"geometry\":{\"type\":\"Polygon\",\"coordinates\":[[[109.342975,-0.034847],[109.345,-0.035],[109.345,-0.037],[109.342975,-0.034847]]]}}', '2026-06-09 13:57:06');
|
||||
-- Error reading structure for table webgis1.kavling: #1932 - Table 'webgis1.kavling' doesn't exist in engine
|
||||
-- Error reading data for table webgis1.kavling: #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'FROM `webgis1`.`kavling`' at line 1
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- Table structure for table `lokasi`
|
||||
--
|
||||
|
||||
CREATE TABLE `lokasi` (
|
||||
`id` int(11) NOT NULL,
|
||||
`nama_spbu` varchar(100) NOT NULL,
|
||||
`no_wa` varchar(50) DEFAULT NULL,
|
||||
`status` varchar(50) DEFAULT NULL,
|
||||
`latitude` double DEFAULT NULL,
|
||||
`longitude` double DEFAULT NULL,
|
||||
`created_at` timestamp NOT NULL DEFAULT current_timestamp()
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||
|
||||
--
|
||||
-- Dumping data for table `lokasi`
|
||||
--
|
||||
|
||||
INSERT INTO `lokasi` (`id`, `nama_spbu`, `no_wa`, `status`, `latitude`, `longitude`, `created_at`) VALUES
|
||||
(2, 'SPBU Pontianak 1', '0811223344', '24jam', -0.034847257373109126, 109.34297561645509, '2026-06-09 13:54:32');
|
||||
|
||||
--
|
||||
-- Indexes for dumped tables
|
||||
--
|
||||
|
||||
--
|
||||
-- Indexes for table `jalan`
|
||||
--
|
||||
ALTER TABLE `jalan`
|
||||
ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
-- Indexes for table `kavling`
|
||||
--
|
||||
ALTER TABLE `kavling`
|
||||
ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
-- Indexes for table `lokasi`
|
||||
--
|
||||
ALTER TABLE `lokasi`
|
||||
ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
-- AUTO_INCREMENT for dumped tables
|
||||
--
|
||||
|
||||
--
|
||||
-- AUTO_INCREMENT for table `jalan`
|
||||
--
|
||||
ALTER TABLE `jalan`
|
||||
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
|
||||
|
||||
--
|
||||
-- AUTO_INCREMENT for table `kavling`
|
||||
--
|
||||
ALTER TABLE `kavling`
|
||||
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
|
||||
|
||||
--
|
||||
-- AUTO_INCREMENT for table `lokasi`
|
||||
--
|
||||
ALTER TABLE `lokasi`
|
||||
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
|
||||
-- Error reading structure for table webgis1.lokasi: #1932 - Table 'webgis1.lokasi' doesn't exist in engine
|
||||
-- Error reading data for table webgis1.lokasi: #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'FROM `webgis1`.`lokasi`' at line 1
|
||||
COMMIT;
|
||||
|
||||
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
||||
|
||||
+9
-118
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user