Commit 4411d0de authored by Jakob Moser's avatar Jakob Moser
Browse files

Merge branch 'backend/fix-set-default' into 'master'

Set default value to 0 correctly

See merge request moser/poolpay!5
parents dfef10e8 5d7b6220
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: