This commit is contained in:
parent
fd5a2f6794
commit
f533ca0743
@ -12,4 +12,4 @@ class Meal(db.Model):
|
|||||||
spicy = db.Column(db.Boolean, nullable=True, default=False)
|
spicy = db.Column(db.Boolean, nullable=True, default=False)
|
||||||
vegan = db.Column(db.Boolean, nullable=True, default=False)
|
vegan = db.Column(db.Boolean, nullable=True, default=False)
|
||||||
glutenfree = db.Column(db.Boolean, nullable=True, default=False)
|
glutenfree = db.Column(db.Boolean, nullable=True, default=False)
|
||||||
ingredients = db.relationship('Ingredient', back_populates='meal', lazy='dynamic')
|
ingredients = db.relationship('Ingredient', back_populates='meal')
|
||||||
|
Loading…
Reference in New Issue
Block a user