seanieboi6687 / ReachIn

0 stars 0 forks source link

Issue #03 - Schema #3

Open keginzburg opened 1 year ago

keginzburg commented 1 year ago

Database Schema

Comments

  1. We can nix the has_many :jobposts association for our users.
  2. Can comments have a parent_comment_id? Should they? Does LinkedIn allow for this kind of comment threads?
  3. Can you clarify what your connections table stores? Is the conenction_id another user's id? If it is, then does that establish a connection and if it does, then do we want that connection to be unique?
  4. I like that we're aiming for Polymorphic associations for our Likes. We can discuss these later and possibly scale down to just Likes for Posts, depending on our progress. Polymorphism could be a Bonus.
seanieboi6687 commented 1 year ago

done