diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php index 2099b82a..55507df6 100644 --- a/app/Providers/AppServiceProvider.php +++ b/app/Providers/AppServiceProvider.php @@ -39,6 +39,7 @@ class AppServiceProvider extends ServiceProvider $app_version = config('app.version'); if (version_compare($app_version, $db_version) == 1) { // app is higher than db, so need to run migrations etc Artisan::call('migrate', ['--path' => 'database/migrations', '--force' => true, '--seed' => true]); + ProcessApps::dispatch(); } } else { Artisan::call('migrate', ['--path' => 'database/migrations', '--force' => true, '--seed' => true]);