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