Display the created_by
This commit is contained in:
parent
147e610062
commit
c3a48182fd
1 changed files with 4 additions and 3 deletions
|
@ -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,
|
||||
];
|
||||
|
|
Loading…
Add table
Reference in a new issue