We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f7053a commit c8ba8d2Copy full SHA for c8ba8d2
src/Davzie/LaravelBootstrap/Seeds/ExampleSettingsSeeder.php
@@ -2,6 +2,7 @@
2
namespace Davzie\LaravelBootstrap\Seeds;
3
use Illuminate\Database\Seeder;
4
use Illuminate\Support\Facades\DB;
5
+use Illuminate\Support\Facades\Config;
6
7
class ExampleSettingsSeeder extends Seeder {
8
@@ -12,12 +13,12 @@ public function run()
12
13
[
14
'key' => 'application_name',
15
'label' => 'Application Name',
- 'value' => 'Laravel Bootstrap'
16
+ 'value' => Config::get('laravel-bootstrap::app.name')
17
]
18
];
19
DB::table('settings')->insert($types);
20
$this->command->info('Settings Table Seeded With An Example Record');
21
22
}
23
-}
24
+}
0 commit comments