vanduynamite / MuTube

µTube, a pixel perfect YouTube clone
2 stars 1 forks source link

Schema #5

Closed simcha-c closed 5 years ago

simcha-c commented 5 years ago

Really good job!

vanduynamite commented 5 years ago
  1. I want a sessions table to allow the same user to log in on multiple devices.
  2. I'll edit the scoped uniqueness as mentioned
  3. Yes, it is the same as user_id. The actual YouTube does allow a user to create multiple channels but I think I will skip that part for my implementation. So a user has one channel. What do we do, channel_id, user_id, something_else_id?
  4. Poly! Morphic!
simcha-c commented 5 years ago

The ability to allow users to login from multiple devices should be a bonus feature. Definitely something super cool to implement, but that is definitely bonus. channel_id sounds good then. You can always add multiple channels later on if you want to. Great!

vanduynamite commented 5 years ago

Well it's already done sooooo