Improvements: fix duplicate seeder, add missing seeders, remove redundant $with, add migration down(), optimize queries

This commit is contained in:
root committed 2026-06-08 18:33:24 +02:00
1 parent 9bb2e4246b
commit 6eeb85fcf2
9 files changed
+35 -15

No files matched your search

-4
View File
@@ -44,10 +44,6 @@ class WebsiteArticle extends Model
use BelongsToUser;
use HasSlug, \Illuminate\Database\Eloquent\Factories\HasFactory, SoftDeletes;
/** @var array<int, string> */
#[\Override]
protected $with = ['user'];
protected static function newFactory()
{
return WebsiteArticleFactory::new();