moodln / new_wave

New Wave is a single page clone of BandCamp - a website that hosts artists' music and allows fans to follow and purchase songs or albums from artists.
https://newwwave.herokuapp.com/#/
5 stars 1 forks source link

Database Schema #3

Closed okj203 closed 2 years ago

okj203 commented 2 years ago

Database Schema

okj203 commented 2 years ago
moodln commented 2 years ago

I decided to include an artist_id in the users table, so that I can have a self-join association to display all artists that a user is following. Does that make sense? I'm also considering adding an albums table, to keep all of the songs more organized, but I'm not sure if that is necessary. After all, I could just gather the songs together based off of the 'album' key in their table. Thank you for your insight about the artists table and the genre_joins table !!

okj203 commented 2 years ago
moodln commented 2 years ago

ooof - many-to-many self-join, sounds like fun 😆 i'm doing research for that now.. i know we covered it before but i'm going to have to brush up on it- thank you !!