first(); $termsContent = << 'terms-of-service'], [ 'title' => 'Termos de Uso', 'content' => $termsContent, 'version' => '1.0', 'published_by' => $superadmin?->id, 'published_at' => now(), ] ); LegalDocument::updateOrCreate( ['type' => 'privacy-policy'], [ 'title' => 'Política de Privacidade', 'content' => $privacyContent, 'version' => '1.0', 'published_by' => $superadmin?->id, 'published_at' => now(), ] ); } }