Changed schema to allow multiple releases/artists to share the same image

This commit is contained in:
emeric
2024-10-04 09:54:04 +02:00
parent b5d650791c
commit 55c7dea8d8
9 changed files with 133 additions and 24 deletions
+1 -1
View File
@@ -277,7 +277,7 @@ namespace lms::db
ObjectPtr<Image> Artist::getImage() const
{
return ObjectPtr<Image>{ _image.lock() };
return ObjectPtr<Image>{ _image };
}
RangeResults<ArtistId> Artist::findSimilarArtistIds(core::EnumSet<TrackArtistLinkType> artistLinkTypes, std::optional<Range> range) const