disable model caching during install/update

This commit is contained in:
denisdulici
2020-02-07 14:37:22 +03:00
parent 18b1e6e703
commit 293c9ec8f2
7 changed files with 18 additions and 6 deletions

View File

@ -62,6 +62,9 @@ class InstallCommand extends Command
$this->call('cache:clear');
// Disable model cache during installation
config(['laravel-model-caching.enabled' => false]);
// Update database
$this->call('migrate', ['--force' => true]);