Skip to content

Conversation

@Roardom
Copy link
Collaborator

@Roardom Roardom commented Jan 7, 2026

No description provided.

@what-the-diff
Copy link

what-the-diff bot commented Jan 7, 2026

PR Summary

  • New Database Migration file added
    We've added a file named 2026_01_07_073136_add_foreign_keys_everywhere.php that updates our database structure.
  • Foreign Key Constraints Introduced
    It's just a way of making sure that things that are linked together in our data have their relationships respected. Here are the updates:
    • Tables for images and URLs in applications
    • Automatic torrent freeleeches categories, types, and resolutions
    • Donations' associated users
    • Forum group permissions
    • Likes on forum posts
    • Playlist torrents
    • Reports on requested features
    • Request bounty and claim tables
    • Subtitles' associated languages
    • Attachments on support tickets
    • Ticket categories and priority levels
    • Torrents' distributors and regions
    • User groups, chatrooms, and statuses
  • Removed Unnecessary Indexes
    We've removed some of the indexes that used to be on these fields, now that those same fields have these foreign key constraints. This avoids unnecessary redundancy.

@Roardom Roardom force-pushed the add-foreign-keys-everywhere branch 29 times, most recently from 8d80dd2 to 3bc31ee Compare January 8, 2026 10:22
@Roardom Roardom force-pushed the add-foreign-keys-everywhere branch 6 times, most recently from b84c1fc to 9e7dc9d Compare January 8, 2026 11:48
@Roardom Roardom force-pushed the add-foreign-keys-everywhere branch from 87eed42 to b50d657 Compare January 11, 2026 13:34
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.

1 participant