Initial seed data for non-dev deployment

This commit is contained in:
Nabeel Shahzad
2017-07-13 18:09:08 -05:00
parent 0de8033c88
commit b531fb4d15
2 changed files with 18 additions and 1 deletions

View File

@@ -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');