Call db:seed after DB update
This commit is contained in:
parent
b5769ec192
commit
a645a126b3
@ -98,6 +98,8 @@ class AppInstallation
|
|||||||
Artisan::call('cache:clear');
|
Artisan::call('cache:clear');
|
||||||
Artisan::call('migrate', ['--force' => true]);
|
Artisan::call('migrate', ['--force' => true]);
|
||||||
|
|
||||||
|
Artisan::call('db:seed');
|
||||||
|
|
||||||
$className = sprintf('DataMigrationV%s', str_replace(['.', '-'], '_', $appVersionNumber));
|
$className = sprintf('DataMigrationV%s', str_replace(['.', '-'], '_', $appVersionNumber));
|
||||||
if (class_exists($className))
|
if (class_exists($className))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user