-- The delta sync (GET /api/library/sync) carries the shared library only: -- artists, albums and tracks. Likes and playlists reach the apps through -- their own endpoints and live events, so their rows here were written and -- never read. Clear them. The entity_type check still admits the old -- values, so a backup from before this change still restores; nothing -- writes them any more. DELETE FROM library_changes WHERE entity_type NOT IN ('artist', 'album', 'track');