3 ms·
> For example my current "transactions" table has fromUserId and toUserId columns (1 user = 1 account) and so purchases/transfers/reloading your account all tak
by yobbo 4y ago
> For example my current "transactions" table has fromUserId and toUserId columns (1 user = 1 account) and so purchases/transfers/reloading your account all take just 1 row
This is what double-entry looks like in a database.
Ironically, single-entry would have one column, and two records for each transaction.