bcwan / StackOverflowJR

StackOverflow inspired project utilizing React, Redux, HTML, SCSS, JavaScript, Bootstrap, and Ruby on Rails.
2 stars 0 forks source link

FSP To-Do List #1

Open mwmadsen67 opened 4 years ago

mwmadsen67 commented 4 years ago

Wiki Page Home


MVP List


Database Schema


Sample State


Backend Routes


Frontend Routes

mwmadsen67 commented 4 years ago

The comments, upvotes, and downvotes in the schema look strange to me, did you mean to make them have polymorphic associations? If so, they should have columns like commentable_id and commentable_type. If you don't want to make polymorphic associations, then the only other viable option is to make additional tables, like question_comments and question_answers.