Use only one table to store transaction history