This commit introduces seeders for various entities in the database, including HubunganPemilikJaminan, JenisFasilitasKredit, and others. These seeders populate the database with initial data for testing and development purposes.
31 lines
656 B
PHP
31 lines
656 B
PHP
<?php
|
|
|
|
namespace Modules\Lpj\Database\Seeders;
|
|
|
|
use Illuminate\Database\Seeder;
|
|
use Modules\Lpj\Models\JenisPenilaian;
|
|
|
|
class JenisPenilaianSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Run the database seeds.
|
|
*/
|
|
public function run(): void
|
|
{
|
|
JenisPenilaian::insert([
|
|
[
|
|
'code' => 'JP1',
|
|
'name' => 'Internal',
|
|
'created_at' => now(),
|
|
'updated_at' => now()
|
|
],
|
|
[
|
|
'code' => 'JP2',
|
|
'name' => 'External',
|
|
'created_at' => now(),
|
|
'updated_at' => now()
|
|
],
|
|
]);
|
|
}
|
|
}
|