10-08-2014, 03:30 AM
I decided to change the DB structure. Instead of having the account balance as the primary and the transactions as supplemental information, I decided to make the transactions table the primary, and drop the balance table altogether. This makes the implementation a bit simpler. It could mean that for players with large payment history things could get a bit slow; we'll see how it fares, it shouldn't be a problem.