Add indexes for transactions.