We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 175073f commit 827a849Copy full SHA for 827a849
src/Commands/MorphCleanCommand.php
@@ -28,8 +28,9 @@ protected function captureEvents()
28
Event::listen(
29
RelationMorphFromModelWasCleaned::class,
30
function (RelationMorphFromModelWasCleaned $event) {
31
- $this->comment(sprintf(
32
- "\t- From relation %s: %d %s",
+ $this->info(sprintf(
+ "\t✔ Clean model %s in the table %s: %d %s.",
33
+ get_class($event->model),
34
$event->relation->getRelated()->getTable(),
35
$event->numDeleted,
36
$event->dryRun ? 'rows to remove' : 'rows cleaned'
0 commit comments