feat: keep original text on ingredient parse (#1102)

* Keep Original Text on Ingredient Parse
* Reorder migration and update test
This commit is contained in:
Miroito
2022-03-29 18:07:01 +02:00
committed by GitHub
parent 5e44d1c238
commit 6f309d7a89
7 changed files with 33 additions and 2 deletions

View File

@@ -63,6 +63,8 @@ class RecipeIngredient(SqlAlchemyBase, BaseMixins):
food = orm.relationship(IngredientFoodModel, uselist=False)
quantity = Column(Float)
original_text = Column(String)
reference_id = Column(GUID) # Reference Links
@auto_init()