GNOME Bugzilla – Bug 783213
redesign comma separated photo_id_list
Last modified: 2021-05-19 15:05:11 UTC
I think the TagTable should be redesigned as queries are more complex and the performance may also increase when avoiding comma separated lists of ids. Instead use a second table which links the tags with the photo_id. TagTable id|name|time_created TagPhotoRelationTable tag_id|photo_id Here are some reasons why lists should be avoided: http://www.schemamania.org/sql/#lists
Yes. The database schema is less then optimal, I know. Feel free to provide a patch (Good luck).
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/shotwell/-/issues/4843.