added more indexes

This commit is contained in:
Denis Duliçi
2020-06-09 00:40:08 +03:00
parent f7c8f4b785
commit 4c62e391b7
3 changed files with 74 additions and 0 deletions

View File

@ -0,0 +1,29 @@
<?php
namespace App\Listeners\Update\V20;
use App\Abstracts\Listeners\Update as Listener;
use App\Events\Install\UpdateFinished as Event;
use Illuminate\Support\Facades\Artisan;
class Version2014 extends Listener
{
const ALIAS = 'core';
const VERSION = '2.0.14';
/**
* Handle the event.
*
* @param $event
* @return void
*/
public function handle(Event $event)
{
if ($this->skipThisUpdate($event)) {
return;
}
Artisan::call('migrate', ['--force' => true]);
}
}