added purchase table and added purchase_id to line_item table