Skip to content

Commit

Permalink
Rilis v2412.0.0 (#463)
Browse files Browse the repository at this point in the history
Co-authored-by: Abah Roland <59082428+vickyrolanda@users.noreply.github.com>
Co-authored-by: Firliani Fauziah <firlianif@gmail.com>
Co-authored-by: Agung Sugiarto <sugiartoagung92@gmail.com>
Co-authored-by: Afila <apidongblog@gmail.com>
Co-authored-by: sarwono <scqolbu@gmail.com>
Co-authored-by: scqolbu24 <scqolbu24@users.noreply.github.com>
Co-authored-by: agungsugiarto <agungsugiarto@users.noreply.github.com>
  • Loading branch information
8 people authored Dec 1, 2024
1 parent 152a75d commit ea4c710
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 10 deletions.
2 changes: 1 addition & 1 deletion app/Helpers/helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*/
function pantau_versi()
{
return 'v2411.0.0';
return 'v2412.0.0';
}
}

Expand Down
10 changes: 1 addition & 9 deletions catatan_rilis.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,6 @@ Di rilis v2411.0.0 berisi perbaikan yang diminta Komunitas Open Desa.

#### Perbaikan Bug

1. [#430](https://github.com/OpenSID/pantau/issues/430) Perbaikan permission file logging ketika backup otomatis.
2. [#443](https://github.com/OpenSID/pantau/issues/443) Perbaikan simpan kordinat lat & lng kecamatan.
3. [#447](https://github.com/OpenSID/pantau/issues/447) Perbaikan pencarian pada halaman LayananDesa.
4. [#442](https://github.com/OpenSID/pantau/issues/442) Perbaikan fitur lokasi map kabupaten pengguna.
5. [#441](https://github.com/OpenSID/pantau/issues/441) Perbaikan cek kesesuaian data pada dabor saat ini masih belum valid karena data yang terpasang pada dasbor masih 0.

#### Penyesuaian Teknis

1. [#437](https://github.com/OpenSID/pantau/issues/437) Menambah file readme.md.
2. [#440](https://github.com/OpenSID/pantau/issues/440) Penyesuaian statistik pada pantau agar terlihat lebih infografik.
3. [#448](https://github.com/OpenSID/pantau/issues/448) Penyesuaian informasi datatable.
1. [#458](https://github.com/OpenSID/pantau/issues/458) Mutahirkan daftar wilayah Papua Barat Daya.
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
<?php

use Illuminate\Support\Facades\DB;
use Illuminate\Database\Migrations\Migration;

return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
DB::table('tbl_regions')->insertOrIgnore([
'region_code' => '96',
'region_name' => 'PAPUA BARAT DAYA',
'new_region_name' => null,
'keterangan' => 'Provinsi baru',
'parent_code' => null,
'created_at' => now(),
'updated_at' => now(),
]);

$provinsi = [
'92.01', // Kabupaten Sorong
'92.04', // Kabupaten Sorong Selatan
'92.05', // Kabupaten Raja Ampat
'92.09', // Kabupaten Tambrauw
'92.10', // Kabupaten Maybrat
'92.71' // Kota Sorong
];

foreach ($provinsi as $prov) {
DB::table('tbl_regions')
->where('region_code', $prov)
->update([
'parent_code' => '96',
'updated_at' => now()
]);
}
}

/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
DB::table('tbl_regions')
->where('region_code', '96')
->delete();

$provinsi = [
'92.01', // Kabupaten Sorong
'92.04', // Kabupaten Sorong Selatan
'92.05', // Kabupaten Raja Ampat
'92.09', // Kabupaten Tambrauw
'92.10', // Kabupaten Maybrat
'92.71' // Kota Sorong
];

foreach ($provinsi as $prov) {
DB::table('tbl_regions')
->where('region_code', $prov)
->update([
'parent_code' => '92'
]);
}
}
};

0 comments on commit ea4c710

Please sign in to comment.