From 9bd83a51b5cfce0f170795253146aabcfa312ef8 Mon Sep 17 00:00:00 2001 From: Achmad Hadi Kurnia Date: Tue, 9 Apr 2024 13:46:09 +0700 Subject: [PATCH] feature: add pull data from csv --- composer.json | 4 +- ...0024_create_siasn_referensi_cltn_table.php | 29 ++++ ...025_create_siasn_referensi_harga_table.php | 29 ++++ ...siasn_referensi_jenis_id_dokumen_table.php | 29 ++++ ...eate_siasn_referensi_jenis_kawin_table.php | 29 ++++ ...iasn_referensi_jenis_kepanitiaan_table.php | 29 ++++ ...siasn_referensi_jenis_kompetensi_table.php | 29 ++++ ..._create_siasn_referensi_jenis_kp_table.php | 29 ++++ ...ate_siasn_referensi_jenis_kursus_table.php | 30 ++++ ...te_siasn_referensi_jenis_pegawai_table.php | 29 ++++ ...sn_referensi_jenis_pemberhentian_table.php | 29 ++++ ..._siasn_referensi_jenis_pengadaan_table.php | 29 ++++ ...te_siasn_referensi_jenis_pensiun_table.php | 29 ++++ ...te_siasn_referensi_jenis_riwayat_table.php | 29 ++++ ...0037_create_siasn_referensi_kpkn_table.php | 29 ++++ ...8_create_siasn_referensi_profesi_table.php | 29 ++++ ...39_create_siasn_referensi_taspen_table.php | 30 ++++ src/Commands/PullCommand.php | 66 +++++++ src/Exceptions/BadFileNameCallException.php | 10 ++ src/Models/Cltn.php | 34 ++++ src/Models/Harga.php | 34 ++++ src/Models/JenisIdDokumen.php | 34 ++++ src/Models/JenisKawin.php | 34 ++++ src/Models/JenisKepanitiaan.php | 34 ++++ src/Models/JenisKompetensi.php | 34 ++++ src/Models/JenisKp.php | 34 ++++ src/Models/JenisKursus.php | 34 ++++ src/Models/JenisPegawai.php | 34 ++++ src/Models/JenisPemberhentian.php | 34 ++++ src/Models/JenisPengadaan.php | 34 ++++ src/Models/JenisPensiun.php | 34 ++++ src/Models/JenisRiwayat.php | 34 ++++ src/Models/Kpkn.php | 34 ++++ src/Models/Profesi.php | 34 ++++ src/Models/Taspen.php | 34 ++++ src/Referensi.php | 161 ++++++++++++++++++ src/ReferensiServiceProvider.php | 20 ++- 37 files changed, 1269 insertions(+), 2 deletions(-) create mode 100644 database/migrations/2024_01_01_000024_create_siasn_referensi_cltn_table.php create mode 100644 database/migrations/2024_01_01_000025_create_siasn_referensi_harga_table.php create mode 100644 database/migrations/2024_01_01_000026_create_siasn_referensi_jenis_id_dokumen_table.php create mode 100644 database/migrations/2024_01_01_000027_create_siasn_referensi_jenis_kawin_table.php create mode 100644 database/migrations/2024_01_01_000028_create_siasn_referensi_jenis_kepanitiaan_table.php create mode 100644 database/migrations/2024_01_01_000029_create_siasn_referensi_jenis_kompetensi_table.php create mode 100644 database/migrations/2024_01_01_000030_create_siasn_referensi_jenis_kp_table.php create mode 100644 database/migrations/2024_01_01_000031_create_siasn_referensi_jenis_kursus_table.php create mode 100644 database/migrations/2024_01_01_000032_create_siasn_referensi_jenis_pegawai_table.php create mode 100644 database/migrations/2024_01_01_000033_create_siasn_referensi_jenis_pemberhentian_table.php create mode 100644 database/migrations/2024_01_01_000034_create_siasn_referensi_jenis_pengadaan_table.php create mode 100644 database/migrations/2024_01_01_000035_create_siasn_referensi_jenis_pensiun_table.php create mode 100644 database/migrations/2024_01_01_000036_create_siasn_referensi_jenis_riwayat_table.php create mode 100644 database/migrations/2024_01_01_000037_create_siasn_referensi_kpkn_table.php create mode 100644 database/migrations/2024_01_01_000038_create_siasn_referensi_profesi_table.php create mode 100644 database/migrations/2024_01_01_000039_create_siasn_referensi_taspen_table.php create mode 100644 src/Exceptions/BadFileNameCallException.php create mode 100644 src/Models/Cltn.php create mode 100644 src/Models/Harga.php create mode 100644 src/Models/JenisIdDokumen.php create mode 100644 src/Models/JenisKawin.php create mode 100644 src/Models/JenisKepanitiaan.php create mode 100644 src/Models/JenisKompetensi.php create mode 100644 src/Models/JenisKp.php create mode 100644 src/Models/JenisKursus.php create mode 100644 src/Models/JenisPegawai.php create mode 100644 src/Models/JenisPemberhentian.php create mode 100644 src/Models/JenisPengadaan.php create mode 100644 src/Models/JenisPensiun.php create mode 100644 src/Models/JenisRiwayat.php create mode 100644 src/Models/Kpkn.php create mode 100644 src/Models/Profesi.php create mode 100644 src/Models/Taspen.php diff --git a/composer.json b/composer.json index df3d6ec..b20c5a9 100644 --- a/composer.json +++ b/composer.json @@ -29,6 +29,8 @@ "kanekescom/laravel-helperia": "^2.0", "kanekescom/laravel-siasn-api": "^2.0", "kanekescom/laravel-siasn-referensi-api": "^2.1", + "kanekescom/siasn-referensi-dataset": "^2024.0@dev", + "league/csv": "^9.15", "spatie/laravel-fractal": "^6.0", "spatie/laravel-package-tools": "^1.14.0" }, @@ -114,4 +116,4 @@ ], "minimum-stability": "dev", "prefer-stable": true -} \ No newline at end of file +} diff --git a/database/migrations/2024_01_01_000024_create_siasn_referensi_cltn_table.php b/database/migrations/2024_01_01_000024_create_siasn_referensi_cltn_table.php new file mode 100644 index 0000000..e813d42 --- /dev/null +++ b/database/migrations/2024_01_01_000024_create_siasn_referensi_cltn_table.php @@ -0,0 +1,29 @@ +unsignedTinyInteger('id')->primary(); + $table->string('nama'); + $table->timestamps(); + $table->softDeletes(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('siasn_referensi_cltn'); + } +}; diff --git a/database/migrations/2024_01_01_000025_create_siasn_referensi_harga_table.php b/database/migrations/2024_01_01_000025_create_siasn_referensi_harga_table.php new file mode 100644 index 0000000..4fd6bcb --- /dev/null +++ b/database/migrations/2024_01_01_000025_create_siasn_referensi_harga_table.php @@ -0,0 +1,29 @@ +unsignedSmallInteger('id')->primary(); + $table->string('nama'); + $table->timestamps(); + $table->softDeletes(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('siasn_referensi_harga'); + } +}; diff --git a/database/migrations/2024_01_01_000026_create_siasn_referensi_jenis_id_dokumen_table.php b/database/migrations/2024_01_01_000026_create_siasn_referensi_jenis_id_dokumen_table.php new file mode 100644 index 0000000..50342bb --- /dev/null +++ b/database/migrations/2024_01_01_000026_create_siasn_referensi_jenis_id_dokumen_table.php @@ -0,0 +1,29 @@ +unsignedTinyInteger('id')->primary(); + $table->string('nama'); + $table->timestamps(); + $table->softDeletes(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('siasn_referensi_jenis_id_dokumen'); + } +}; diff --git a/database/migrations/2024_01_01_000027_create_siasn_referensi_jenis_kawin_table.php b/database/migrations/2024_01_01_000027_create_siasn_referensi_jenis_kawin_table.php new file mode 100644 index 0000000..c1170ab --- /dev/null +++ b/database/migrations/2024_01_01_000027_create_siasn_referensi_jenis_kawin_table.php @@ -0,0 +1,29 @@ +unsignedTinyInteger('id')->primary(); + $table->string('nama'); + $table->timestamps(); + $table->softDeletes(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('siasn_referensi_jenis_kawin'); + } +}; diff --git a/database/migrations/2024_01_01_000028_create_siasn_referensi_jenis_kepanitiaan_table.php b/database/migrations/2024_01_01_000028_create_siasn_referensi_jenis_kepanitiaan_table.php new file mode 100644 index 0000000..87e6ea9 --- /dev/null +++ b/database/migrations/2024_01_01_000028_create_siasn_referensi_jenis_kepanitiaan_table.php @@ -0,0 +1,29 @@ +string('id', 1)->primary(); + $table->string('nama'); + $table->timestamps(); + $table->softDeletes(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('siasn_referensi_jenis_kepanitiaan'); + } +}; diff --git a/database/migrations/2024_01_01_000029_create_siasn_referensi_jenis_kompetensi_table.php b/database/migrations/2024_01_01_000029_create_siasn_referensi_jenis_kompetensi_table.php new file mode 100644 index 0000000..4c8aa08 --- /dev/null +++ b/database/migrations/2024_01_01_000029_create_siasn_referensi_jenis_kompetensi_table.php @@ -0,0 +1,29 @@ +unsignedTinyInteger('id')->primary(); + $table->string('nama'); + $table->timestamps(); + $table->softDeletes(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('siasn_referensi_jenis_kompetensi'); + } +}; diff --git a/database/migrations/2024_01_01_000030_create_siasn_referensi_jenis_kp_table.php b/database/migrations/2024_01_01_000030_create_siasn_referensi_jenis_kp_table.php new file mode 100644 index 0000000..1235bbf --- /dev/null +++ b/database/migrations/2024_01_01_000030_create_siasn_referensi_jenis_kp_table.php @@ -0,0 +1,29 @@ +unsignedTinyInteger('id')->primary(); + $table->string('nama'); + $table->timestamps(); + $table->softDeletes(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('siasn_referensi_jenis_kp'); + } +}; diff --git a/database/migrations/2024_01_01_000031_create_siasn_referensi_jenis_kursus_table.php b/database/migrations/2024_01_01_000031_create_siasn_referensi_jenis_kursus_table.php new file mode 100644 index 0000000..4a20d0d --- /dev/null +++ b/database/migrations/2024_01_01_000031_create_siasn_referensi_jenis_kursus_table.php @@ -0,0 +1,30 @@ +string('id', 42)->primary(); + $table->string('cepat_kode', 10); + $table->string('nama'); + $table->timestamps(); + $table->softDeletes(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('siasn_referensi_jenis_kursus'); + } +}; diff --git a/database/migrations/2024_01_01_000032_create_siasn_referensi_jenis_pegawai_table.php b/database/migrations/2024_01_01_000032_create_siasn_referensi_jenis_pegawai_table.php new file mode 100644 index 0000000..c53b0f3 --- /dev/null +++ b/database/migrations/2024_01_01_000032_create_siasn_referensi_jenis_pegawai_table.php @@ -0,0 +1,29 @@ +unsignedTinyInteger('id')->primary(); + $table->string('nama'); + $table->timestamps(); + $table->softDeletes(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('siasn_referensi_jenis_pegawai'); + } +}; diff --git a/database/migrations/2024_01_01_000033_create_siasn_referensi_jenis_pemberhentian_table.php b/database/migrations/2024_01_01_000033_create_siasn_referensi_jenis_pemberhentian_table.php new file mode 100644 index 0000000..4b4d765 --- /dev/null +++ b/database/migrations/2024_01_01_000033_create_siasn_referensi_jenis_pemberhentian_table.php @@ -0,0 +1,29 @@ +unsignedTinyInteger('id')->primary(); + $table->string('nama'); + $table->timestamps(); + $table->softDeletes(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('siasn_referensi_jenis_pemberhentian'); + } +}; diff --git a/database/migrations/2024_01_01_000034_create_siasn_referensi_jenis_pengadaan_table.php b/database/migrations/2024_01_01_000034_create_siasn_referensi_jenis_pengadaan_table.php new file mode 100644 index 0000000..5a8253b --- /dev/null +++ b/database/migrations/2024_01_01_000034_create_siasn_referensi_jenis_pengadaan_table.php @@ -0,0 +1,29 @@ +string('id', 1)->primary(); + $table->string('nama'); + $table->timestamps(); + $table->softDeletes(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('siasn_referensi_jenis_pengadaan'); + } +}; diff --git a/database/migrations/2024_01_01_000035_create_siasn_referensi_jenis_pensiun_table.php b/database/migrations/2024_01_01_000035_create_siasn_referensi_jenis_pensiun_table.php new file mode 100644 index 0000000..ab2c637 --- /dev/null +++ b/database/migrations/2024_01_01_000035_create_siasn_referensi_jenis_pensiun_table.php @@ -0,0 +1,29 @@ +unsignedTinyInteger('id')->primary(); + $table->string('nama'); + $table->timestamps(); + $table->softDeletes(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('siasn_referensi_jenis_pensiun'); + } +}; diff --git a/database/migrations/2024_01_01_000036_create_siasn_referensi_jenis_riwayat_table.php b/database/migrations/2024_01_01_000036_create_siasn_referensi_jenis_riwayat_table.php new file mode 100644 index 0000000..d8a8235 --- /dev/null +++ b/database/migrations/2024_01_01_000036_create_siasn_referensi_jenis_riwayat_table.php @@ -0,0 +1,29 @@ +unsignedTinyInteger('id')->primary(); + $table->string('nama'); + $table->timestamps(); + $table->softDeletes(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('siasn_referensi_jenis_riwayat'); + } +}; diff --git a/database/migrations/2024_01_01_000037_create_siasn_referensi_kpkn_table.php b/database/migrations/2024_01_01_000037_create_siasn_referensi_kpkn_table.php new file mode 100644 index 0000000..0a5228d --- /dev/null +++ b/database/migrations/2024_01_01_000037_create_siasn_referensi_kpkn_table.php @@ -0,0 +1,29 @@ +string('id', 42)->primary(); + $table->string('nama'); + $table->timestamps(); + $table->softDeletes(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('siasn_referensi_kpkn'); + } +}; diff --git a/database/migrations/2024_01_01_000038_create_siasn_referensi_profesi_table.php b/database/migrations/2024_01_01_000038_create_siasn_referensi_profesi_table.php new file mode 100644 index 0000000..8c9a64e --- /dev/null +++ b/database/migrations/2024_01_01_000038_create_siasn_referensi_profesi_table.php @@ -0,0 +1,29 @@ +string('id', 42)->primary(); + $table->string('nama'); + $table->timestamps(); + $table->softDeletes(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('siasn_referensi_profesi'); + } +}; diff --git a/database/migrations/2024_01_01_000039_create_siasn_referensi_taspen_table.php b/database/migrations/2024_01_01_000039_create_siasn_referensi_taspen_table.php new file mode 100644 index 0000000..effa07e --- /dev/null +++ b/database/migrations/2024_01_01_000039_create_siasn_referensi_taspen_table.php @@ -0,0 +1,30 @@ +string('id', 4)->primary(); + $table->string('kanreg_id', 2); + $table->string('nama'); + $table->timestamps(); + $table->softDeletes(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('siasn_referensi_taspen'); + } +}; diff --git a/src/Commands/PullCommand.php b/src/Commands/PullCommand.php index c4016e9..480f550 100644 --- a/src/Commands/PullCommand.php +++ b/src/Commands/PullCommand.php @@ -118,6 +118,72 @@ class PullCommand extends Command 'model' => Models\JenisDiklat::class, 'method' => 'getJenisDiklat', ], + + // based on csv file + 'cltn' => [ + 'model' => Models\Cltn::class, + 'method' => 'getCltn', + ], + 'harga' => [ + 'model' => Models\Harga::class, + 'method' => 'getHarga', + ], + 'jenis_id_dokumen' => [ + 'model' => Models\JenisIdDokumen::class, + 'method' => 'getJenisIdDokumen', + ], + 'jenis_kawin' => [ + 'model' => Models\JenisKawin::class, + 'method' => 'getJenisKawin', + ], + 'jenis_kepanitiaan' => [ + 'model' => Models\JenisKepanitiaan::class, + 'method' => 'getJenisKepanitiaan', + ], + 'jenis_kompetensi' => [ + 'model' => Models\JenisKompetensi::class, + 'method' => 'getJenisKompetensi', + ], + 'jenis_kp' => [ + 'model' => Models\JenisKp::class, + 'method' => 'getJenisKp', + ], + 'jenis_kursus' => [ + 'model' => Models\JenisKursus::class, + 'method' => 'getJenisKursus', + ], + 'jenis_pegawai' => [ + 'model' => Models\JenisPegawai::class, + 'method' => 'getJenisPegawai', + ], + 'jenis_pemberhentian' => [ + 'model' => Models\JenisPemberhentian::class, + 'method' => 'getJenisPemberhentian', + ], + 'jenis_pengadaan' => [ + 'model' => Models\JenisPengadaan::class, + 'method' => 'getJenisPengadaan', + ], + 'jenis_pensiun' => [ + 'model' => Models\JenisPensiun::class, + 'method' => 'getJenisPensiun', + ], + 'jenis_riwayat' => [ + 'model' => Models\JenisRiwayat::class, + 'method' => 'getJenisRiwayat', + ], + 'kpkn' => [ + 'model' => Models\Kpkn::class, + 'method' => 'getKpkn', + ], + 'profesi' => [ + 'model' => Models\Profesi::class, + 'method' => 'getProfesi', + ], + 'taspen' => [ + 'model' => Models\Taspen::class, + 'method' => 'getTaspen', + ], ]; /** diff --git a/src/Exceptions/BadFileNameCallException.php b/src/Exceptions/BadFileNameCallException.php new file mode 100644 index 0000000..4ecd8c3 --- /dev/null +++ b/src/Exceptions/BadFileNameCallException.php @@ -0,0 +1,10 @@ +setDelimiter(';') + ->setHeaderOffset(0) + ->getRecords()); + } + + public function getHarga() + { + $filePath = base_path('vendor/kanekescom/siasn-referensi-dataset/dataset/harga.csv'); + + return collect(Reader::createFromPath($filePath, 'r') + ->setDelimiter(';') + ->setHeaderOffset(0) + ->getRecords()); + } + + public function getJenisIdDokumen() + { + $filePath = base_path('vendor/kanekescom/siasn-referensi-dataset/dataset/jenis_id_dokumen.csv'); + + return collect(Reader::createFromPath($filePath, 'r') + ->setDelimiter(';') + ->setHeaderOffset(0) + ->getRecords()); + } + + public function getJenisKawin() + { + $filePath = base_path('vendor/kanekescom/siasn-referensi-dataset/dataset/jenis_kawin.csv'); + + return collect(Reader::createFromPath($filePath, 'r') + ->setDelimiter(';') + ->setHeaderOffset(0) + ->getRecords()); + } + + public function getJenisKepanitiaan() + { + $filePath = base_path('vendor/kanekescom/siasn-referensi-dataset/dataset/jenis_kepanitiaan.csv'); + + return collect(Reader::createFromPath($filePath, 'r') + ->setDelimiter(';') + ->setHeaderOffset(0) + ->getRecords()); + } + + public function getJenisKompetensi() + { + $filePath = base_path('vendor/kanekescom/siasn-referensi-dataset/dataset/jenis_kompetensi.csv'); + + return collect(Reader::createFromPath($filePath, 'r') + ->setDelimiter(';') + ->setHeaderOffset(0) + ->getRecords()); + } + + public function getJenisKp() + { + $filePath = base_path('vendor/kanekescom/siasn-referensi-dataset/dataset/jenis_kp.csv'); + + return collect(Reader::createFromPath($filePath, 'r') + ->setDelimiter(';') + ->setHeaderOffset(0) + ->getRecords()); + } + + public function getJenisKursus() + { + $filePath = base_path('vendor/kanekescom/siasn-referensi-dataset/dataset/jenis_kursus.csv'); + + return collect(Reader::createFromPath($filePath, 'r') + ->setDelimiter(';') + ->setHeaderOffset(0) + ->getRecords()); + } + + public function getJenisPegawai() + { + $filePath = base_path('vendor/kanekescom/siasn-referensi-dataset/dataset/jenis_pegawai.csv'); + + return collect(Reader::createFromPath($filePath, 'r') + ->setDelimiter(';') + ->setHeaderOffset(0) + ->getRecords()); + } + + public function getJenisPemberhentian() + { + $filePath = base_path('vendor/kanekescom/siasn-referensi-dataset/dataset/jenis_pemberhentian.csv'); + + return collect(Reader::createFromPath($filePath, 'r') + ->setDelimiter(';') + ->setHeaderOffset(0) + ->getRecords()); + } + + public function getJenisPengadaan() + { + $filePath = base_path('vendor/kanekescom/siasn-referensi-dataset/dataset/jenis_pengadaan.csv'); + + return collect(Reader::createFromPath($filePath, 'r') + ->setDelimiter(';') + ->setHeaderOffset(0) + ->getRecords()); + } + + public function getJenisPensiun() + { + $filePath = base_path('vendor/kanekescom/siasn-referensi-dataset/dataset/jenis_pensiun.csv'); + + return collect(Reader::createFromPath($filePath, 'r') + ->setDelimiter(';') + ->setHeaderOffset(0) + ->getRecords()); + } + + public function getJenisRiwayat() + { + $filePath = base_path('vendor/kanekescom/siasn-referensi-dataset/dataset/jenis_riwayat.csv'); + + return collect(Reader::createFromPath($filePath, 'r') + ->setDelimiter(';') + ->setHeaderOffset(0) + ->getRecords()); + } + + public function getKpkn() + { + $filePath = base_path('vendor/kanekescom/siasn-referensi-dataset/dataset/kpkn.csv'); + + return collect(Reader::createFromPath($filePath, 'r') + ->setDelimiter(';') + ->setHeaderOffset(0) + ->getRecords()); + } + + public function getProfesi() + { + $filePath = base_path('vendor/kanekescom/siasn-referensi-dataset/dataset/profesi.csv'); + + return collect(Reader::createFromPath($filePath, 'r') + ->setDelimiter(';') + ->setHeaderOffset(0) + ->getRecords()); + } + + public function getTaspen() + { + $filePath = base_path('vendor/kanekescom/siasn-referensi-dataset/dataset/taspen.csv'); + + return collect(Reader::createFromPath($filePath, 'r') + ->setDelimiter(';') + ->setHeaderOffset(0) + ->getRecords()); + } } diff --git a/src/ReferensiServiceProvider.php b/src/ReferensiServiceProvider.php index 04fef3f..c7b3448 100644 --- a/src/ReferensiServiceProvider.php +++ b/src/ReferensiServiceProvider.php @@ -36,9 +36,27 @@ public function configurePackage(Package $package): void '2024_01_01_000021_create_siasn_referensi_satuan_kerja_table', '2024_01_01_000022_create_siasn_referensi_tingkat_pendidikan_table', '2024_01_01_000023_create_siasn_referensi_jenis_diklat_table', + '2024_01_01_000024_create_siasn_referensi_cltn_table', + '2024_01_01_000025_create_siasn_referensi_harga_table', + '2024_01_01_000026_create_siasn_referensi_jenis_id_dokumen_table', + '2024_01_01_000027_create_siasn_referensi_jenis_kawin_table', + '2024_01_01_000028_create_siasn_referensi_jenis_kepanitiaan_table', + '2024_01_01_000029_create_siasn_referensi_jenis_kompetensi_table', + '2024_01_01_000030_create_siasn_referensi_jenis_kp_table', + '2024_01_01_000031_create_siasn_referensi_jenis_kursus_table', + '2024_01_01_000032_create_siasn_referensi_jenis_pegawai_table', + '2024_01_01_000033_create_siasn_referensi_jenis_pemberhentian_table', + '2024_01_01_000034_create_siasn_referensi_jenis_pengadaan_table', + '2024_01_01_000035_create_siasn_referensi_jenis_pensiun_table', + '2024_01_01_000036_create_siasn_referensi_jenis_riwayat_table', + '2024_01_01_000037_create_siasn_referensi_kpkn_table', + '2024_01_01_000038_create_siasn_referensi_profesi_table', + '2024_01_01_000039_create_siasn_referensi_taspen_table', ]) ->runsMigrations() - ->hasCommand(Commands\PullCommand::class) + ->hasCommands([ + Commands\PullCommand::class, + ]) ->hasInstallCommand(function ($command) { $command ->startWith(function ($command) {