From f831791db2ff4bb34a0ad842368e64286ebbfc23 Mon Sep 17 00:00:00 2001 From: Hayden <64056131+hay-kot@users.noreply.github.com> Date: Sun, 29 May 2022 17:28:51 -0800 Subject: [PATCH] feat: default unit fractions to True --- mealie/db/models/recipe/ingredient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mealie/db/models/recipe/ingredient.py b/mealie/db/models/recipe/ingredient.py index e0f6c63f56d9..83118caf32ac 100644 --- a/mealie/db/models/recipe/ingredient.py +++ b/mealie/db/models/recipe/ingredient.py @@ -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()