diff --git a/app/Http/Controllers/DashboardController.php b/app/Http/Controllers/DashboardController.php index fcf63bf5f4..0fbdcf6c89 100755 --- a/app/Http/Controllers/DashboardController.php +++ b/app/Http/Controllers/DashboardController.php @@ -39,8 +39,8 @@ class DashboardController extends Controller $counts['grand_total'] = $counts['asset'] + $counts['accessory'] + $counts['license'] + $counts['consumable']; if ((!file_exists(storage_path().'/oauth-private.key')) || (!file_exists(storage_path().'/oauth-public.key'))) { - \Artisan::call('passport:install'); \Artisan::call('migrate', ['--force' => true]); + \Artisan::call('passport:install'); } return view('dashboard')->with('asset_stats', $asset_stats)->with('counts', $counts); diff --git a/app/Http/Controllers/SettingsController.php b/app/Http/Controllers/SettingsController.php index 3b2441dcc9..b154f6c8c8 100755 --- a/app/Http/Controllers/SettingsController.php +++ b/app/Http/Controllers/SettingsController.php @@ -263,8 +263,8 @@ class SettingsController extends Controller $output = Artisan::output(); if ((!file_exists(storage_path().'/oauth-private.key')) || (!file_exists(storage_path().'/oauth-public.key'))) { - Artisan::call('passport:install'); Artisan::call('migrate', ['--force' => true]); + Artisan::call('passport:install'); }