4GeeksAcademy / C69-Meal-Generator

4 stars 0 forks source link

Create the ERG diagram for the main page #6

Closed Krisjward5 closed 1 month ago

Krisjward5 commented 1 month ago

Complete a full ERG chart showing the relationship between the user to the menu, brunch menu, menu items and, menu ingredients.

Krisjward5 commented 1 month ago

Class - User

tablename = 'user'

id = db.Column(db.Integer, primary_key=True) email = db.Column(db.String(120), unique=True, nullable=False) password = db.Column(db.String(80), unique=False, nullable=False) Menu_favorite = (ill have to build these relationships at a point) Alergen_alert = (ill have to build these relationships at a point)