   CONSTRAINT `idExperimentAnswers`
     FOREIGN KEY (`experiment`)
     REFERENCES `crowdcontrol`.`Experiment` (`id_experiment`)
-    ON DELETE CASCADE
+    ON DELETE RESTRICT
     ON UPDATE CASCADE,
   CONSTRAINT `workerAnswered`
     FOREIGN KEY (`worker_id`)

  CONSTRAINT `reservation_answer`
    FOREIGN KEY (`reservation`)
    REFERENCES `crowdcontrol`.`Answer_Reservation` (`id_answer_Reservation`)
    ON DELETE CASCADE
    ON UPDATE CASCADE)
ENGINE = InnoDB
DEFAULT CHARACTER SET = utf8mb4;

    FOREIGN KEY (`experiment`)
    REFERENCES `crowdcontrol`.`Experiment` (`id_experiment`)
    ON DELETE RESTRICT
    ON UPDATE CASCADE,
  CONSTRAINT `workerRated`
    FOREIGN KEY (`worker_id`)
    REFERENCES `crowdcontrol`.`Worker` (`id_worker`)
