I'm having trouble with a core data many-to-many relationship where both side's delete rules are set to Nullify. I'm finding when I inspect the SQL database there are records left in the join table that should be deleted.
The two tables represent Playlists and Tracks. Playlist deletes don't cascade to delete each track automatically because each track can be in multiple playlists.
The tracks in a playlists are in an ordered relationship.
The track is being removed from the playlist and separately the playlist and track are being deleted but there remains a record in the Z_6PLAYLIST_TRACKS table in the database.
How do I make sure these records are deleted too?