Commit 5d7b6220 authored by Jakob Moser's avatar Jakob Moser
Browse files

Set default value to 0 correctly

parent dfef10e8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@ class Person(Base):

    name: Mapped[str]
    cl_account_name: Mapped[str] = mapped_column(unique=True)
    balance_cents: Mapped[int] = 0
    balance_cents: Mapped[int] = mapped_column(default=0)

    @property
    def balance_str(self) -> str: