This commit is contained in:
parent
794721a0cb
commit
da7dd7eec6
@ -6,3 +6,4 @@ class Ingredient(db.Model):
|
||||
__tablename__ = 'Ingredient'
|
||||
id = db.Column(db.Integer, primary_key=True)
|
||||
name = db.Column(db.String, nullable=False, unique=True)
|
||||
meal_id = db.Column(db.Integer, db.ForeignKey('Meal.id'))
|
||||
|
Loading…
Reference in New Issue
Block a user