How would I go about fixing this error. Right now we are running version 5.2 and we are trying to upgrade to version 6. Well more like installing the new version with an existing DB. While trying to do so I get this error.
ERROR. unable to execute SQL: 'DROP TABLE IF EXISTS patient_data
’ due to: Cannot delete or update a parent row: a foreign key constraint fails