Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Database restructuration #17

Closed
paurieraf opened this issue May 7, 2019 · 0 comments
Closed

Database restructuration #17

paurieraf opened this issue May 7, 2019 · 0 comments
Assignees

Comments

@paurieraf
Copy link
Member

paurieraf commented May 7, 2019

Create Artist and Album model and a foreign key from Link to both. Save both ids and some information like name and genres
This will allow to use /recommendations basing the query to both Artist and Album and not only Artist.

Then, it will be necessary to do a migration to retrieve the data from Spotify for every album and artist.

@paurieraf paurieraf self-assigned this May 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant