[pricelist] receipt as list of strings
This commit is contained in:
parent
bcf1941a81
commit
15c7a56d56
|
@ -139,7 +139,7 @@ class Drink(db.Model, ModelSerializeMixin):
|
|||
cost_per_package: Optional[float] = db.Column(db.Numeric(precision=5, scale=3, asdecimal=False))
|
||||
|
||||
uuid: str = db.Column(db.String(36))
|
||||
receipt: Optional[str] = db.Column(db.String)
|
||||
receipt: Optional[list[str]] = db.Column(db.PickleType(protocol=4))
|
||||
|
||||
_type_id = db.Column("type_id", db.Integer, db.ForeignKey("drink_type.id"))
|
||||
|
||||
|
|
Loading…
Reference in New Issue