Commit 4b2318f6 by Bagus Pambudi

settings table seeder

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