Files
faveo/app/Console/Commands/SyncFaveoToLatestVersion.php
RafficMohammed 4037a74fca database:sync
2023-02-28 16:57:16 +05:30

35 lines
686 B
PHP

<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
class SyncFaveoToLatestVersion extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'database:sync';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Database sync';
/**
* Execute the console command.
*
* @return int
*/
public function handle()
{
$this->info('database:sync started');
(new \App\Http\Controllers\Update\SyncFaveoToLatestVersion())->sync();
$this->info('database:sync completed');
}
}