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

refactor: implement composite key generation for MediaItem #838

Merged
merged 2 commits into from
Nov 2, 2024

Conversation

iPromKnight
Copy link
Collaborator

  • Changed MediaItem ID type from int to str to support composite keys.
  • Added a method to generate composite keys using item type and trakt_id.
  • Updated related functions and methods to handle the new ID type.
  • Modified database queries and relationships to accommodate string IDs.
  • Adjusted API endpoints and event management to work with composite keys.

- Changed MediaItem ID type from int to str to support composite keys.
- Added a method to generate composite keys using item type and trakt_id.
- Updated related functions and methods to handle the new ID type.
- Modified database queries and relationships to accommodate string IDs.
- Adjusted API endpoints and event management to work with composite keys.
@iPromKnight
Copy link
Collaborator Author

Also fixes deletion which was broken from UI

@iPromKnight iPromKnight marked this pull request as ready for review November 2, 2024 20:00
@iPromKnight iPromKnight merged commit 2a0291c into rivenmedia:main Nov 2, 2024
1 check passed
@iPromKnight iPromKnight deleted the feature/composite_key branch November 2, 2024 20:15
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

Successfully merging this pull request may close these issues.

2 participants