database refactoring: outcome.cash_total->amount