Added `Type` column to transactions table