mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-23 15:19:41 +02:00
feat: default unit fractions to True
This commit is contained in:
parent
c3bdfe7b3b
commit
f831791db2
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue