#51: Run the database seeders during a clean install as well as during an update

This commit is contained in:
Andy Heathershaw 2017-09-29 12:53:49 +01:00
parent 150f0a4966
commit 1618ae64c0

View File

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