view-izing the base payment table and adding the "payment_type" field