1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-07-19 05:09:40 +02:00

feat: default unit fractions to True

This commit is contained in:
Hayden 2022-05-29 17:28:51 -08:00
parent c3bdfe7b3b
commit f831791db2

View file

@ -18,7 +18,7 @@ class IngredientUnitModel(SqlAlchemyBase, BaseMixins):
name = Column(String)
description = Column(String)
abbreviation = Column(String)
fraction = Column(Boolean)
fraction = Column(Boolean, default=True)
ingredients = orm.relationship("RecipeIngredient", back_populates="unit")
@auto_init()