Call db:seed after DB update

This commit is contained in:
Andy Heathershaw 2017-04-18 20:07:59 +01:00
parent b5769ec192
commit a645a126b3
1 changed files with 2 additions and 0 deletions

View File

@ -98,6 +98,8 @@ class AppInstallation
Artisan::call('cache:clear');
Artisan::call('migrate', ['--force' => true]);
Artisan::call('db:seed');
$className = sprintf('DataMigrationV%s', str_replace(['.', '-'], '_', $appVersionNumber));
if (class_exists($className))
{