Skip to content
Snippets Groups Projects
Commit d37b8b07 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

export improved to remove sme relations before update

parent 600d7935
No related branches found
No related tags found
1 merge request!5Appointments dev
......@@ -80,11 +80,13 @@ public class Main {
String redCapFile = line.getOptionValue("red-cap");
appointmentDao.addAppointments(processRedCapAppointments(redCapFile));
System.out.println("delete from web_visit_appointment_types;");
System.out.println("delete from web_appointment_appointment_types;");
System.out.println("delete from web_subject_languages;");
System.out.println("delete from web_appointment;");
System.out.println("delete from web_visit;");
System.out.println("delete from web_subject;");
SubjectSqlExporter subjectSqlExporter = new SubjectSqlExporter();
// logger.debug("SUBJECTS: ");
for (Subject subject : subjectDao.getSubjects()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment