Allow artworks to have one primary category and extra secondaries.

Keep artwork_category as membership, store a deterministic primary_category_id, and let upload plus studio pick up to five additional same-type categories without changing canonical URLs.
This commit is contained in:
2026-09-20 14:50:12 +02:00
parent ce0f278bac
commit 6b00652a20
43 changed files with 2896 additions and 565 deletions
+7
View File
@@ -0,0 +1,7 @@
<?php
declare(strict_types=1);
return [
'max_secondary_categories' => max(0, (int) env('CATEGORIES_MAX_SECONDARY', 5)),
];