Skip to content

Split GamePhotoSubjects into their own DB table#1046

Merged
Toastbrot236 merged 11 commits intoLittleBigRefresh:mainfrom
Toastbrot236:photo-list
Mar 10, 2026
Merged

Split GamePhotoSubjects into their own DB table#1046
Toastbrot236 merged 11 commits intoLittleBigRefresh:mainfrom
Toastbrot236:photo-list

Conversation

@Toastbrot236
Copy link
Contributor

Makes working on photos easier and less chaotic at the cost of one more DB call per requested photo. This is not that bad, because I do already have something in mind (and partially implemented) which will mostly avoid that and other DB calls when requesting photos, but I have decided to PR that separately, so this PR is more of a preparation for photo optimization.

@Toastbrot236
Copy link
Contributor Author

The latest commit removes that extra DB call per serialized photo, so now photo fetching is as fast as previously, while still keeping subjects in their own table internally.

@Toastbrot236 Toastbrot236 merged commit 5b595f8 into LittleBigRefresh:main Mar 10, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant