As it currently stands, the transactions are saved to the transaction table and are also applied directly to the account balance amount.
If a transaction is to be updated, so too does the balance need to be updated. Or, the balance should be based on the sum of the transactions rather than stored as a number.
As it currently stands, the transactions are saved to the transaction table and are also applied directly to the account balance amount.
If a transaction is to be updated, so too does the balance need to be updated. Or, the balance should be based on the sum of the transactions rather than stored as a number.