Add transaction type to the database