take6056@feddit.nltoProgramming@programming.dev•how good is this short introduction about myself (No CSS applied yet)?
1·
8 months agoAt college some guys were self hosting a git server for a project but it went down. We resorted to a USB stick that acted as remote
and was passed around. That was awesome to see, for about a day…
Another Many-to-many example within this usecase would be “subscriptions”. Users can subscribe to multiple channels and channels can have multiple users subscribed to them. You would use another relational table that stores the channel_id & user_id, with uniqueness for both together, since “being subscribed to one specific channel multiple times” doesn’t make sense and perhaps put a column to store “hitting the bell” in there too.