where('slug', 'git-mental-model-and-battle-tested-habits-fa') ->exists(); if (!$hasGitPost) { \Illuminate\Support\Facades\Artisan::call('db:seed', [ '--class' => 'Database\\Seeders\\Blog\\RealBlogContentSeeder', '--force' => true, ]); \Illuminate\Support\Facades\Cache::flush(); } } } catch (\Throwable $e) { // Silently fall through if DB or migration is in flux } } }