Commit ba6c8dc7 by Aan Choesni Herlingga

added seeder for default language and team setting

parent 74c095aa
...@@ -6,8 +6,6 @@ class SettingsTableSeeder extends Seeder ...@@ -6,8 +6,6 @@ class SettingsTableSeeder extends Seeder
{ {
/** /**
* Run the database seeds. * Run the database seeds.
*
* @return void
*/ */
public function run() public function run()
{ {
...@@ -140,5 +138,25 @@ class SettingsTableSeeder extends Seeder ...@@ -140,5 +138,25 @@ class SettingsTableSeeder extends Seeder
'userid_created' => 'Aan Choesni Herlingga', 'userid_created' => 'Aan Choesni Herlingga',
'userid_updated' => 'Aan Choesni Herlingga', 'userid_updated' => 'Aan Choesni Herlingga',
]); ]);
// KEYWORD
DB::table('swp_settings')->insert([
'id' => Str::uuid()->toString(),
'show_name_setting' => 'KEYWORD',
'name_setting' => 'default_keyword',
'value_setting' => 'unesa, universitas negeri surabaya',
'userid_created' => 'Aan Choesni Herlingga',
'userid_updated' => 'Aan Choesni Herlingga',
]);
// LANGUAGE
DB::table('swp_settings')->insert([
'id' => Str::uuid()->toString(),
'show_name_setting' => 'TEAM',
'name_setting' => 'team',
'value_setting' => '',
'userid_created' => 'Aan Choesni Herlingga',
'userid_updated' => 'Aan Choesni Herlingga',
]);
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment