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';
|
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,
|
||||||
];
|
];
|
||||||
|
|
Loading…
Add table
Reference in a new issue