CREATE TABLE lokasi (
    id INT AUTO_INCREMENT PRIMARY KEY,
    nama_spbu VARCHAR(100) NOT NULL,
    no_wa VARCHAR(50),
    status VARCHAR(50),
    latitude DOUBLE,
    longitude DOUBLE,
    created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);

CREATE TABLE jalan (
    id INT AUTO_INCREMENT PRIMARY KEY,
    nama_jalan VARCHAR(100) NOT NULL,
    status VARCHAR(50),
    panjang DOUBLE,
    geom TEXT NOT NULL,
    created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);

CREATE TABLE kavling (
    id INT AUTO_INCREMENT PRIMARY KEY,
    pemilik VARCHAR(100) NOT NULL,
    status VARCHAR(50),
    luas DOUBLE,
    geom TEXT NOT NULL,
    created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);