mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-07-26 08:44:30 +02:00
* feat(admin): migrate db dumps from github to platform * style: fix StyleCI findings
43 lines
952 B
PHP
43 lines
952 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Console\Commands\Repositories\Storage\Admin;
|
|
|
|
use App\Concerns\Repositories\Admin\ReconcilesDumpRepositories;
|
|
use App\Console\Commands\Repositories\Storage\StorageReconcileCommand;
|
|
use App\Constants\Config\DumpConstants;
|
|
use Illuminate\Support\Facades\Config;
|
|
|
|
/**
|
|
* Class DumpReconcileCommand.
|
|
*/
|
|
class DumpReconcileCommand extends StorageReconcileCommand
|
|
{
|
|
use ReconcilesDumpRepositories;
|
|
|
|
/**
|
|
* The name and signature of the console command.
|
|
*
|
|
* @var string
|
|
*/
|
|
protected $signature = 'reconcile:dump';
|
|
|
|
/**
|
|
* The console command description.
|
|
*
|
|
* @var string
|
|
*/
|
|
protected $description = 'Perform set reconciliation between object storage and dump database';
|
|
|
|
/**
|
|
* The name of the disk.
|
|
*
|
|
* @return string
|
|
*/
|
|
public function disk(): string
|
|
{
|
|
return Config::get(DumpConstants::DISK_QUALIFIED);
|
|
}
|
|
}
|