Re:Ask HN: How to better implement a deposit/withdrawal trac...
by _448 on Monday May 30, 2022 @11:14AM
(#31559897)
Create two tables: Account and Transaction.
In the `Account` table you store information of the account and the latest balance. In the `Transaction` table you store all the transactions.
[ Parent
| on HN ]
There are no comments on this comment yet.