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)
|
||||
description = Column(String)
|
||||
abbreviation = Column(String)
|
||||
fraction = Column(Boolean)
|
||||
fraction = Column(Boolean, default=True)
|
||||
ingredients = orm.relationship("RecipeIngredient", back_populates="unit")
|
||||
|
||||
@auto_init()
|
||||
|
|
Loading…
Reference in a new issue