Delete the corresponding table records #44

Closed
opened 2019-05-22 19:34:27 -04:00 by kdeng00 · 0 comments
kdeng00 commented 2019-05-22 19:34:27 -04:00 (Migrated from github.com)

When deleting songs via the api/song/[id] HTTP endpoint, delete the corresponding records:

  • Album - If there are no longer any songs attached to the album
  • Artist - If there are no longer any songs attached to the artists
  • Genre - If there are no longer any songs attached to the genre
  • Year - If there are no longer any songs attached to the year
When deleting songs via the *api/song/[id]* HTTP endpoint, delete the corresponding records: * Album - If there are no longer any songs attached to the album * Artist - If there are no longer any songs attached to the artists * Genre - If there are no longer any songs attached to the genre * Year - If there are no longer any songs attached to the year
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: phoenix/icarus#44