Skip to content

Constraint violation when deleting a bookmarked media

When a media contains bookmark, deleting it will cause a constraint violation because the Bookmark table doesn't specify 'ON DELETE CASCADE' (or because we don't manually delete the bookmarks)

A unit test checking this has been added here: https://code.videolan.org/chouquette/medialibrary/-/tree/check_bookmark_media_deletion

This might be related to #425 (closed)

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information