1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00

Merge pull request #3921 from turbo124/v2

Force migrations in productions after Self-Update runs
This commit is contained in:
David Bomba 2020-07-22 07:36:13 +10:00 committed by GitHub
commit 0c11e93b7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,7 +41,7 @@ class PostUpdate extends Command
info("running post update");
try {
Artisan::call('migrate');
Artisan::call('migrate',['--force' => true]);
} catch (Exception $e) {
\Log::error("I wasn't able to migrate the data.");
}