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

Add foreign keys where necessary #198

Open
11 tasks
simonv3 opened this issue Nov 22, 2022 · 0 comments
Open
11 tasks

Add foreign keys where necessary #198

simonv3 opened this issue Nov 22, 2022 · 0 comments

Comments

@simonv3
Copy link
Collaborator

simonv3 commented Nov 22, 2022

These weren't added in the initial migration but they should be there. Every model that has a relationship to another query should have foreign keys. We should add migrations for this. High use models should probably take priority.

Priority:

  • track_groups
  • track_group_items
  • tracks
  • playlists
  • playlist_items
  • user_groups
  • users
  • plays

Lower priority:

  • credits
  • user_membership
  • etc
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