optimizations

This commit is contained in:
2026-03-28 19:15:39 +01:00
parent 0b25d9570a
commit cab4fbd83e
509 changed files with 1016804 additions and 1605 deletions

View File

@@ -26,7 +26,9 @@ class ArtworkFactory extends Factory
'width' => 800,
'height' => 600,
'is_public' => true,
'visibility' => Artwork::VISIBILITY_PUBLIC,
'is_approved' => true,
'is_mature' => false,
'published_at' => now()->subDay(),
];
}
@@ -38,7 +40,7 @@ class ArtworkFactory extends Factory
public function private(): self
{
return $this->state(fn () => ['is_public' => false]);
return $this->state(fn () => ['is_public' => false, 'visibility' => Artwork::VISIBILITY_PRIVATE]);
}
public function unapproved(): self