auto-update

This commit is contained in:
RafficMohammed
2023-02-01 16:44:00 +05:30
parent 9dd3f53910
commit d468d309aa
16 changed files with 152 additions and 70 deletions

View File

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