Display the created_by

This commit is contained in:
Marcus Moore 2025-03-11 17:03:26 -07:00
parent 147e610062
commit c3a48182fd
No known key found for this signature in database

View file

@ -23,7 +23,7 @@ class FixActionLogTimestamps extends Command
*/ */
protected $description = 'Command description'; protected $description = 'Command description';
private $dryrun = false; private bool $dryrun = false;
/** /**
* Execute the console command. * Execute the console command.
@ -46,10 +46,11 @@ class FixActionLogTimestamps extends Command
$this->info('Found ' . $logs->count() . ' logs with incorrect timestamps:'); $this->info('Found ' . $logs->count() . ' logs with incorrect timestamps:');
$this->table( $this->table(
['ID', 'Created At', 'Updated At'], ['ID', 'Created By', 'Created At', 'Updated At'],
$logs->map(function ($log) { $logs->map(function ($log) {
return [ return [
$log->id, $log->id,
$log->created_by,
$log->created_at, $log->created_at,
$log->updated_at, $log->updated_at,
]; ];