diff --git a/dbSchema/comments.json b/dbSchema/comments.json index 29a859c..f4a3915 100644 --- a/dbSchema/comments.json +++ b/dbSchema/comments.json @@ -1,6 +1,8 @@ { "_id": "606219e9227bce189752a8bb", - "dateOfComment": "Mon Mar 29 2021 14:15:12 GMT-0400 (Eastern Daylight Time)", - "commenter": "john_doe_foodie", + "recipe_id": "id of recipe", + "user" : "Joe Schmo", + "user_id": "507f191e810c19729de860ea", "comment": "This food is trash" + } \ No newline at end of file diff --git a/dbSchema/recipes.json b/dbSchema/recipes.json index 70f05be..8de10cd 100644 --- a/dbSchema/recipes.json +++ b/dbSchema/recipes.json @@ -10,10 +10,11 @@ "tags": ["Dessert"], "comments": [ { - "_id": "606219e9227bce189752a8bb", - "dateOfComment": "Mon Mar 29 2021 14:15:12 GMT-0400 (Eastern Daylight Time)", - "commenter": "john_doe_foodie", - "comment": "This food is trash" + "_id": "606219e9227bce189752a8bb", + "recipe_id": "id of recipe", + "user" : "Joe Schmo", + "user_id": "507f191e810c19729de860ea", + "comment": "This food is trash" } ] }