Upload files to "api"
This commit is contained in:
@@ -77,13 +77,13 @@ try {
|
||||
|
||||
// Insert Pontianak areas
|
||||
$stmt = $db->prepare('
|
||||
INSERT OR IGNORE INTO pontianak_areas (name, area_type, geometry, population)
|
||||
INSERT IGNORE INTO pontianak_areas (name, area_type, geometry, population)
|
||||
VALUES (?, ?, ?, ?)
|
||||
');
|
||||
|
||||
$today = date('Y-m-d');
|
||||
$stats_stmt = $db->prepare('
|
||||
INSERT OR IGNORE INTO area_statistics (pontianak_area_id, statistic_type, value, data_date)
|
||||
INSERT IGNORE INTO area_statistics (pontianak_area_id, statistic_type, value, data_date)
|
||||
VALUES (?, ?, ?, ?)
|
||||
');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user