removed enabled column from reports
This commit is contained in:
31
app/Listeners/Update/V20/Version201.php
Normal file
31
app/Listeners/Update/V20/Version201.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
namespace App\Listeners\Update\V13;
|
||||
|
||||
use App\Events\Install\UpdateFinished as Event;
|
||||
use App\Listeners\Update\Listener;
|
||||
use Artisan;
|
||||
|
||||
class Version201 extends Listener
|
||||
{
|
||||
const ALIAS = 'core';
|
||||
|
||||
const VERSION = '2.0.1';
|
||||
|
||||
/**
|
||||
* Handle the event.
|
||||
*
|
||||
* @param $event
|
||||
* @return void
|
||||
*/
|
||||
public function handle(Event $event)
|
||||
{
|
||||
// Check if should listen
|
||||
if (!$this->check($event)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Update database
|
||||
Artisan::call('migrate', ['--force' => true]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user