need help to draw the ERD diagram for this:  Revised Entity-Relationship Diagram (ERD) Proposal: Entities and Attributes: Users: UserID [PK] Username Password (Hashed and Salted) Email ProfilePictures: (New Entity) PictureID [PK] UserID [FK] PictureData (Reference/Path to Image File) Recipes: RecipeID [PK] UserID [FK] Title Description Image (Reference/Path to Image File) Ingredients: (Potential New Entity) IngredientID [PK] RecipeID [FK] Name Quantity Unit Comments: CommentID [PK] UserID [FK] RecipeID [FK] CommentText Timestamp Relationships: Users to ProfilePictures: One-to-One Users to Recipes: One-to-Many Recipes to Ingredients: One-to-Many Users to Comments: One-to-Many Recipes to Comments: One-to-Many

Np Ms Office 365/Excel 2016 I Ntermed
1st Edition
ISBN:9781337508841
Author:Carey
Publisher:Carey
Chapter6: Managing Multiple Worksheets And Workbooks
Section: Chapter Questions
Problem 16RA
icon
Related questions
Question

need help to draw the ERD diagram for this: 

Revised Entity-Relationship Diagram (ERD) Proposal:

Entities and Attributes:

  • Users:

    • UserID [PK]
    • Username
    • Password (Hashed and Salted)
    • Email
  • ProfilePictures: (New Entity)

    • PictureID [PK]
    • UserID [FK]
    • PictureData (Reference/Path to Image File)
  • Recipes:

    • RecipeID [PK]
    • UserID [FK]
    • Title
    • Description
    • Image (Reference/Path to Image File)
  • Ingredients: (Potential New Entity)

    • IngredientID [PK]
    • RecipeID [FK]
    • Name
    • Quantity
    • Unit
  • Comments:

    • CommentID [PK]
    • UserID [FK]
    • RecipeID [FK]
    • CommentText
    • Timestamp

Relationships:

  • Users to ProfilePictures: One-to-One
  • Users to Recipes: One-to-Many
  • Recipes to Ingredients: One-to-Many
  • Users to Comments: One-to-Many
  • Recipes to Comments: One-to-Many

 

Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Enhanced ER Model
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage