#51: Run the database seeders during a clean install as well as during an update
This commit is contained in:
parent
150f0a4966
commit
1618ae64c0
@ -150,6 +150,7 @@ class InstallController extends Controller
|
|||||||
|
|
||||||
Artisan::call('cache:clear');
|
Artisan::call('cache:clear');
|
||||||
Artisan::call('migrate', ['--force' => true]);
|
Artisan::call('migrate', ['--force' => true]);
|
||||||
|
Artisan::call('db:seed', ['--force' => true]);
|
||||||
|
|
||||||
$versionNumber = UserConfig::getOrCreateModel('app_version');
|
$versionNumber = UserConfig::getOrCreateModel('app_version');
|
||||||
$versionNumber->value = config('app.version');
|
$versionNumber->value = config('app.version');
|
||||||
|
Loading…
Reference in New Issue
Block a user