count(); if ($count === 0) { return; } if ($count > $threshold) { echo PHP_EOL." {$count} legacy direct messages found, skipping the inline backfill.".PHP_EOL; echo ' Run: php artisan dm:backfill-conversations'.PHP_EOL.PHP_EOL; return; } Artisan::call('dm:backfill-conversations', ['--force' => true]); } public function down(): void { // } };