This commit is contained in:
@@ -13,4 +13,4 @@ class Meal(db.Model):
|
||||
spicy = db.Column(db.Boolean, nullable=False, default=False)
|
||||
vegan = db.Column(db.Boolean, nullable=False, default=False)
|
||||
glutenfree = db.Column(db.Boolean, nullable=False, default=False)
|
||||
ingredients = db.relationship('Ingredient', secondary=MealIngredient, back_populates='Meal')
|
||||
ingredients = db.relationship('Ingredient', secondary=MealIngredient.__tablename__, back_populates='Meal')
|
||||
|
||||
Reference in New Issue
Block a user