Contact enabled column set default 1

This commit is contained in:
Cüneyt Şentürk
2021-10-05 19:30:48 +03:00
parent b11fa98e34
commit 0e47589246
2 changed files with 33 additions and 0 deletions

View File

@ -4,6 +4,7 @@ namespace App\Listeners\Update\V21;
use App\Abstracts\Listeners\Update as Listener;
use App\Events\Install\UpdateFinished as Event;
use Illuminate\Support\Facades\Artisan;
class Version2126 extends Listener
{
@ -24,6 +25,8 @@ class Version2126 extends Listener
return;
}
Artisan::call('migrate', ['--force' => true]);
$country_code = array_search(setting('company.country'), trans('countries'));
if ($country_code) {