Initial seed data for non-dev deployment
This commit is contained in:
@@ -14,7 +14,7 @@ class DatabaseSeeder extends Seeder
|
||||
$env = App::environment();
|
||||
$path = database_path('seeds/'.$env.'.yml');
|
||||
if(!file_exists($path)) {
|
||||
return;
|
||||
$path = database_path('seeds/prod.yml');
|
||||
}
|
||||
|
||||
$svc = app('App\Services\DatabaseService');
|
||||
|
||||
Reference in New Issue
Block a user