created prescriptions table and model and set up associations with medications and patients