fix: real-time reverse geocoding on drag, copy missing backend scripts to publik, update right sidebar card UI
This commit is contained in:
@@ -61,6 +61,9 @@ try {
|
||||
|
||||
// 5. Migrasi Tabel Penduduk Miskin (Tambah foto_rumah, foto_kk)
|
||||
$pm_cols = $pdo->query("SHOW COLUMNS FROM penduduk_miskin")->fetchAll(PDO::FETCH_COLUMN);
|
||||
if (!in_array('alamat', $pm_cols)) {
|
||||
$pdo->exec("ALTER TABLE penduduk_miskin ADD COLUMN alamat TEXT NULL AFTER fasilitas_publik_id");
|
||||
}
|
||||
if (!in_array('foto_rumah', $pm_cols)) {
|
||||
$pdo->exec("ALTER TABLE penduduk_miskin ADD COLUMN foto_rumah VARCHAR(255) NULL AFTER fasilitas_publik_id");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user