-- MariaDB dump 10.19  Distrib 10.4.32-MariaDB, for Win64 (AMD64)
--
-- Host: localhost    Database: db_infrastruktur
-- ------------------------------------------------------
-- Server version	10.4.32-MariaDB

/*!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 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Table structure for table `tb_admin`
--

DROP TABLE IF EXISTS `tb_admin`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tb_admin` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `username` varchar(50) NOT NULL,
  `password` varchar(255) NOT NULL,
  `role` varchar(50) NOT NULL DEFAULT 'infrastruktur',
  PRIMARY KEY (`id`),
  UNIQUE KEY `username` (`username`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tb_admin`
--

LOCK TABLES `tb_admin` WRITE;
/*!40000 ALTER TABLE `tb_admin` DISABLE KEYS */;
INSERT INTO `tb_admin` VALUES (2,'admin','$2y$10$wehgk3Q0A2WKVQexnWSR5.tuiCtEh7JymlguIJJ6mBH7PE6l9wncC','infrastruktur');
/*!40000 ALTER TABLE `tb_admin` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tb_jalan`
--

DROP TABLE IF EXISTS `tb_jalan`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tb_jalan` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `nama_jalan` varchar(150) NOT NULL,
  `status_jalan` varchar(50) NOT NULL,
  `panjang_jalan` varchar(50) NOT NULL,
  `geojson` longtext NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tb_jalan`
--

LOCK TABLES `tb_jalan` WRITE;
/*!40000 ALTER TABLE `tb_jalan` DISABLE KEYS */;
INSERT INTO `tb_jalan` VALUES (6,'Jalan Merdeka','Nasional','1801 meter','{\"type\":\"LineString\",\"coordinates\":[[109.32894415057073,-0.018840353715126903],[109.32945921855138,-0.024375682012671315],[109.33619802463078,-0.0300826481582329],[109.33800076256281,-0.03016846719586362]]}'),(7,'Jalan Ahmad Yani','Nasional','5299 meter','{\"type\":\"LineString\",\"coordinates\":[[109.3328062241032,-0.035145598810445586],[109.33864366121658,-0.04239730682888338],[109.34370849635906,-0.0484475479152248],[109.34907378782351,-0.054926883513254005],[109.3492454771504,-0.05561343558990529],[109.34960703285546,-0.05562868324777331],[109.34982164451405,-0.055360498843827315],[109.3494782658603,-0.054985040676330976],[109.34925292361882,-0.05507085968625271],[109.34917780953833,-0.05532831671529273],[109.34928511536758,-0.05563941062390062],[109.34967141635308,-0.055532136862474886],[109.34997187267507,-0.05597195928300745],[109.35161344922636,-0.05795667221873599],[109.35350176455081,-0.06026337219871772],[109.355368597747,-0.06243060165981604],[109.35772912510143,-0.06518784098319573],[109.35978891139408,-0.06756968318106059],[109.36185991389935,-0.06995116008981579]]}'),(8,'Jalan S. Parman','Provinsi','526 meter','{\"type\":\"LineString\",\"coordinates\":[[109.33469431408153,-0.03739959086798393],[109.33583175587201,-0.03656285530957797],[109.33664728017463,-0.035704664985139245],[109.3382783287798,-0.0343315604494704]]}'),(9,'Jalan M.T Haryono','Provinsi','782 meter','{\"type\":\"LineString\",\"coordinates\":[[109.3387929460681,-0.042871432671655385],[109.33323450411086,-0.04718383857680644]]}'),(10,'Palapa 3B','Kabupaten','285 meter','{\"type\":\"LineString\",\"coordinates\":[[109.34480031865142,-0.046551943162560824],[109.34678547649325,-0.048171777168578546]]}'),(11,'Palapa 3D','Kabupaten','284 meter','{\"type\":\"LineString\",\"coordinates\":[[109.3453583089637,-0.04589757312302227],[109.34734346680558,-0.04750667976672901]]}'),(12,'Komplek Palapa','Kabupaten','614 meter','{\"type\":\"LineString\",\"coordinates\":[[109.34598070373602,-0.05084335528107142],[109.34682841978743,-0.050092438889184986],[109.34739714068267,-0.049255703470952435],[109.3493715679416,-0.046520222223551434]]}');
/*!40000 ALTER TABLE `tb_jalan` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tb_kavling`
--

DROP TABLE IF EXISTS `tb_kavling`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tb_kavling` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `nama_kavling` varchar(150) NOT NULL,
  `status_kepemilikan` varchar(50) NOT NULL,
  `luas_tanah` varchar(50) NOT NULL,
  `geojson` longtext NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tb_kavling`
--

LOCK TABLES `tb_kavling` WRITE;
/*!40000 ALTER TABLE `tb_kavling` DISABLE KEYS */;
INSERT INTO `tb_kavling` VALUES (6,'GOR Sultan Syarif Abdurrahman','HGB','35216 m2','{\"type\":\"Polygon\",\"coordinates\":[[[109.33697840497527,-0.0454903328568418],[109.33673160156789,-0.04586579107914545],[109.33652772049224,-0.046026701745227265],[109.33657064282396,-0.046541615874271844],[109.33673160156789,-0.04699216573412297],[109.33698913555818,-0.047389078703477854],[109.3374076282924,-0.047549989366073776],[109.33778319869494,-0.04745344296857475],[109.33805146326816,-0.04713162164254323],[109.33816949968038,-0.046874164580654444],[109.33814803851453,-0.046198339788657714],[109.33811584676575,-0.045683425657145026],[109.33790123510715,-0.045415241212144436],[109.3375149341217,-0.04528651267823576],[109.33723593896556,-0.04537233170087971],[109.33697840497527,-0.0454903328568418]]]}'),(7,'Hutan Sylva UNTAN','HP','31075 m2','{\"type\":\"Polygon\",\"coordinates\":[[[109.34871652199385,-0.056572795635616784],[109.34908136181345,-0.056894616913520143],[109.34925305114028,-0.05698043592064298],[109.3494140098842,-0.057141346558672305],[109.34948912396473,-0.057302257196269066],[109.34963935212573,-0.05739880357859049],[109.34990761669896,-0.05767771534886769],[109.35021880360388,-0.058020991371926664],[109.35042268467954,-0.05823553888530007],[109.3507446021674,-0.05779571648201884],[109.35090556091134,-0.057570441591207736],[109.35098067499187,-0.057452440457611303],[109.35064802692105,-0.05700189067240143],[109.35020807302097,-0.056486976627883274],[109.34993980844774,-0.05617588272376633],[109.3497037356233,-0.05588624357014833],[109.34959642979403,-0.05578969718530791],[109.3494140098842,-0.05581115193749891],[109.34926378172322,-0.05575751505700232],[109.34871652199385,-0.056572795635616784]]]}');
/*!40000 ALTER TABLE `tb_kavling` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tb_spbu`
--

DROP TABLE IF EXISTS `tb_spbu`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tb_spbu` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `nama_spbu` varchar(150) NOT NULL,
  `no_wa` varchar(20) NOT NULL,
  `buka_24jam` enum('Ya','Tidak') NOT NULL,
  `latitude` decimal(10,8) NOT NULL,
  `longitude` decimal(11,8) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tb_spbu`
--

LOCK TABLES `tb_spbu` WRITE;
/*!40000 ALTER TABLE `tb_spbu` DISABLE KEYS */;
INSERT INTO `tb_spbu` VALUES (1,'SPBU Pertamina Sungai Raya','081234560001','Ya',-0.07235426,109.35949892),(5,'SPBU Pertamina Siantan','081234560005','Tidak',-0.00500000,109.34800000),(6,'SPBU Merdeka','083238238222','Tidak',-0.02186453,109.32944725),(7,'SPBU 28 Oktober','089927273822','Ya',-0.01092136,109.36452002);
/*!40000 ALTER TABLE `tb_spbu` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!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 */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2026-06-11 12:42:58
