Commit 4b2318f6 by Bagus Pambudi

settings table seeder

parent 066de57e
......@@ -40,7 +40,7 @@ class SettingsTableSeeder extends Seeder
// ]);
// DIRECTORY STORAGE
DB::table('swp_settings')->insert([
DB::table('swp_setting')->insert([
'id' => Str::uuid()->toString(),
'show_name_setting' => 'DIRECTORY STORAGE',
'name_setting' => 'directory',
......@@ -90,7 +90,7 @@ class SettingsTableSeeder extends Seeder
// ]);
// EKSTERNAL STORAGE
DB::table('swp_settings')->insert([
DB::table('swp_setting')->insert([
'id' => Str::uuid()->toString(),
'show_name_setting' => 'EKSTERNAL STORAGE',
'name_setting' => 'external_storage',
......@@ -110,7 +110,7 @@ class SettingsTableSeeder extends Seeder
]);
// AUTO TRANSLATE
DB::table('swp_settings')->insert([
DB::table('swp_setting')->insert([
'id' => Str::uuid()->toString(),
'show_name_setting' => 'AUTO TRANSLATE',
'name_setting' => 'auto_translate',
......@@ -120,7 +120,7 @@ class SettingsTableSeeder extends Seeder
]);
// THEME
DB::table('swp_settings')->insert([
DB::table('swp_setting')->insert([
'id' => Str::uuid()->toString(),
'show_name_setting' => 'THEME',
'name_setting' => 'theme',
......@@ -130,7 +130,7 @@ class SettingsTableSeeder extends Seeder
]);
// LANGUAGE
DB::table('swp_settings')->insert([
DB::table('swp_setting')->insert([
'id' => Str::uuid()->toString(),
'show_name_setting' => 'LANGUAGE',
'name_setting' => 'default_language',
......@@ -140,7 +140,7 @@ class SettingsTableSeeder extends Seeder
]);
// KEYWORD
DB::table('swp_settings')->insert([
DB::table('swp_setting')->insert([
'id' => Str::uuid()->toString(),
'show_name_setting' => 'KEYWORD',
'name_setting' => 'default_keyword',
......@@ -150,7 +150,7 @@ class SettingsTableSeeder extends Seeder
]);
// LANGUAGE
DB::table('swp_settings')->insert([
DB::table('swp_setting')->insert([
'id' => Str::uuid()->toString(),
'show_name_setting' => 'TEAM',
'name_setting' => 'team',
......
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