do not use loader
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2022-02-13 21:34:23 +01:00
parent fd5a2f6794
commit f533ca0743
2 changed files with 2 additions and 2 deletions

View File

@ -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')