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) 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()