Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

review schema #8

Merged
merged 3 commits into from Mar 1, 2016
Merged

review schema #8

merged 3 commits into from Mar 1, 2016

Conversation

khumphrey
Copy link
Owner

Created review schema

@rekad
Copy link
Collaborator

rekad commented Mar 1, 2016

Great work, got just two small things to add:

  • I think we are not registering the model with mongoose: mongoose.model('Review', reviewSchema);
  • Would we also want to have an array of review references in the product schema? when we show a specific product we probably want to show all associated reviews

rekad added a commit that referenced this pull request Mar 1, 2016
@rekad rekad merged commit 89ed3cb into master Mar 1, 2016
@rekad rekad removed the in progress label Mar 1, 2016
@khumphrey khumphrey deleted the review-schema branch March 7, 2016 19:25
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.

None yet

2 participants