diff --git a/src/XgApiClient.php b/src/XgApiClient.php index 92031ee..72dabc7 100644 --- a/src/XgApiClient.php +++ b/src/XgApiClient.php @@ -400,7 +400,7 @@ public function systemDbUpgrade($isTenant,$version){ } try{ - Artisan::call('cache:clear'); + Artisan::call('optimize:clear'); }catch(\Exception $e){} setEnvValue(['APP_ENV' => 'production']); @@ -429,7 +429,7 @@ public function systemDbUpgrade($isTenant,$version){ } try{ - Artisan::call('cache:clear'); + Artisan::call('optimize:clear'); }catch(\Exception $e){} //todo run a query to get all the tenant then run migrate one by one... @@ -632,4 +632,4 @@ public function getFilePath($file,$getFileRepalcePath){ return str_replace('/'.$file->getFilename(),'',$dir); } -} \ No newline at end of file +}