From 1618ae64c02282873956e555a79e4313b1ddeef4 Mon Sep 17 00:00:00 2001 From: Andy Heathershaw Date: Fri, 29 Sep 2017 12:53:49 +0100 Subject: [PATCH] #51: Run the database seeders during a clean install as well as during an update --- app/Http/Controllers/InstallController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Http/Controllers/InstallController.php b/app/Http/Controllers/InstallController.php index 37a4dd9..ed7711c 100644 --- a/app/Http/Controllers/InstallController.php +++ b/app/Http/Controllers/InstallController.php @@ -150,6 +150,7 @@ class InstallController extends Controller Artisan::call('cache:clear'); Artisan::call('migrate', ['--force' => true]); + Artisan::call('db:seed', ['--force' => true]); $versionNumber = UserConfig::getOrCreateModel('app_version'); $versionNumber->value = config('app.version');