Menaikkan data KJPP part 2
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
namespace Modules\Lpj\Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
use Modules\Lpj\Models\IjinUsaha;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
|
||||
class IjinUsahaSeeder extends Seeder
|
||||
{
|
||||
@@ -12,56 +12,6 @@ class IjinUsahaSeeder extends Seeder
|
||||
*/
|
||||
public function run(): void
|
||||
{
|
||||
IjinUsaha::insert([
|
||||
[
|
||||
'code' => 'IU001',
|
||||
'name' => 'Bisnis',
|
||||
'status' => 1,
|
||||
'created_at' => now(),
|
||||
'updated_at' => now()
|
||||
],
|
||||
[
|
||||
'code' => 'IU002',
|
||||
'name' => 'Properti',
|
||||
'status' => 1,
|
||||
'created_at' => now(),
|
||||
'updated_at' => now()
|
||||
],
|
||||
[
|
||||
'code' => 'IU003',
|
||||
'name' => 'Personal Properti',
|
||||
'status' => 1,
|
||||
'created_at' => now(),
|
||||
'updated_at' => now()
|
||||
],
|
||||
[
|
||||
'code' => 'IU004',
|
||||
'name' => 'Properti Sederhana',
|
||||
'status' => 1,
|
||||
'created_at' => now(),
|
||||
'updated_at' => now()
|
||||
],
|
||||
[
|
||||
'code' => 'IU005',
|
||||
'name' => 'Kep Men Keu RI Nomor 104/KM.1/2018',
|
||||
'status' => 1,
|
||||
'created_at' => now(),
|
||||
'updated_at' => now()
|
||||
],
|
||||
[
|
||||
'code' => 'IU006',
|
||||
'name' => 'Kep Men Keu RI Nomor 174/KM.1/2018',
|
||||
'status' => 1,
|
||||
'created_at' => now(),
|
||||
'updated_at' => now()
|
||||
],
|
||||
[
|
||||
'code' => 'IU007',
|
||||
'name' => 'Kep Men Keu RI Nomor 368/KM.1/2020',
|
||||
'status' => 1,
|
||||
'created_at' => now(),
|
||||
'updated_at' => now()
|
||||
],
|
||||
]);
|
||||
DB::unprepared(file_get_contents(__DIR__ . '/sql/ijin_usaha.sql'));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user