mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-06-03 21:55:22 -04:00
feat: default unit fractions to True
This commit is contained in:
parent
c3bdfe7b3b
commit
f831791db2
@ -18,7 +18,7 @@ class IngredientUnitModel(SqlAlchemyBase, BaseMixins):
|
|||||||
name = Column(String)
|
name = Column(String)
|
||||||
description = Column(String)
|
description = Column(String)
|
||||||
abbreviation = Column(String)
|
abbreviation = Column(String)
|
||||||
fraction = Column(Boolean)
|
fraction = Column(Boolean, default=True)
|
||||||
ingredients = orm.relationship("RecipeIngredient", back_populates="unit")
|
ingredients = orm.relationship("RecipeIngredient", back_populates="unit")
|
||||||
|
|
||||||
@auto_init()
|
@auto_init()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user