From e0fc310ef6a5233641f28e736dc95cd5c3f24096 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Murta?= Date: Sun, 29 Jan 2023 21:16:05 +0000 Subject: [PATCH] [Fix] Add split default --- pfbudget/db/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pfbudget/db/model.py b/pfbudget/db/model.py index 2be6a07..fa2a33e 100644 --- a/pfbudget/db/model.py +++ b/pfbudget/db/model.py @@ -91,7 +91,7 @@ class Transaction(Base, Export): description: Mapped[Optional[str]] amount: Mapped[money] - split: Mapped[bool] = mapped_column(init=False) + split: Mapped[bool] = mapped_column(init=False, default=False) type: Mapped[str] = mapped_column(init=False)