Initial commit
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class RolesSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
DB:table('roles')->insert([
|
||||
[
|
||||
'role_name' => 'Penolong Pengurus Cawangan',
|
||||
'role_code' => 'PPC',
|
||||
'description' => 'Penolong Pengurus Cawangan',
|
||||
],
|
||||
[
|
||||
'role_name' => 'Khazanah',
|
||||
'role_code' => 'Khazanah',
|
||||
'description' => 'Khazanah',
|
||||
],
|
||||
[
|
||||
'role_name' => 'Juruwang',
|
||||
'role_code' => 'TT',
|
||||
'description' => 'Juruwang',
|
||||
],
|
||||
[
|
||||
'role_name' => 'Penilai',
|
||||
'role_code' => 'PP',
|
||||
'description' => 'Penilai',
|
||||
]
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user