feat(backend): fix credit duplicates, support multi-role TV credits, fix collection upload

- Fix credit dedup key to people_id + cast_type (scoped to entry_id)
- Detect aggregate_credits format via Array.isArray(c.roles) instead of is_tvseries flag
- Join multiple roles/jobs with "; " instead of taking only the first
- Add episode_count field to Credit model from total_episode_count
- Increase character and job columns to VARCHAR(500)
- Deselect existing collection posters/backdrops before inserting new upload
- Updated docs-vault
- Updated some agents files
This commit is contained in:
Mohammed Abad committed 2026-04-23 16:51:18 +01:00
1 parent 260282a0e2
commit ce01dc34fa
14 files changed
+293 -45

No files matched your search

+1 -1
View File
@@ -38,7 +38,7 @@ Append a new section at the end of `changes.md` using this exact format:
- If no task number is provided, use the next available number based on the last entry in the file.
- Always ensure formatting matches exactly (heading + code block + bullets).
### Documentation
### Documentation (Skip the legacy docs, we're using obsidian docs-vault now)
Update the `/backend/docs` and `/react_frontend/docs` folders with any relevant documentation changes related to the task you completed. This includes API documentation, architectural diagrams, or any other relevant docs.