them log, chinh upload
Some checks failed
Tests / PHP 8.3 (push) Has been cancelled
Tests / PHP 8.4 (push) Has been cancelled
Tests / PHP 8.5 (push) Has been cancelled

This commit is contained in:
2026-05-09 11:00:59 +00:00
parent 96e1ce4f40
commit efa97b6c71
33 changed files with 1055 additions and 47 deletions

View File

@@ -2,6 +2,7 @@
namespace App\Console\Commands;
use App\Services\ActivityLogger;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\File;
@@ -71,6 +72,17 @@ class ExportBackup extends Command
$this->printSummary($backupDir, $totalRows);
ActivityLogger::log(
'export',
__('feedback.log_export_done', ['tables' => count($tables), 'rows' => $totalRows]),
null,
[
'tables' => $this->stats,
'total_rows' => $totalRows,
'path' => $backupDir,
],
);
return self::SUCCESS;
}