mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
Suppress optimize on shared hosting
This commit is contained in:
parent
4c56d7328c
commit
c2b4210241
@ -147,7 +147,9 @@ class SetupController extends Controller
|
|||||||
DB::purge('db-ninja-01');
|
DB::purge('db-ninja-01');
|
||||||
|
|
||||||
/* Run migrations */
|
/* Run migrations */
|
||||||
Artisan::call('optimize');
|
if(!config('ninja.disable_auto_update'))
|
||||||
|
Artisan::call('optimize');
|
||||||
|
|
||||||
Artisan::call('migrate', ['--force' => true]);
|
Artisan::call('migrate', ['--force' => true]);
|
||||||
Artisan::call('db:seed', ['--force' => true]);
|
Artisan::call('db:seed', ['--force' => true]);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user