Commit 0ae5c190 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

migration script fixed to cascade on dependencies

parent 0eec5417
Pipeline #58079 passed with stage
in 18 minutes and 49 seconds
delete from user_class_annotators_table where class_name = 'lcsb.mapviewer.model.map.reaction.type.BooleanLogicGateReaction';
delete from class_valid_annotation_miriam_type_table where class_valid_annotation_id in (select id from user_class_valid_annotations_table where class_name = 'lcsb.mapviewer.model.map.reaction.type.BooleanLogicGateReaction');
delete from user_class_valid_annotations_table where class_name = 'lcsb.mapviewer.model.map.reaction.type.BooleanLogicGateReaction';
delete from annotator_parameter_table where annotator_data_id in (select id from annotator_data_table where user_class_annotators_id in (select id from user_class_annotators_table where class_name = 'lcsb.mapviewer.model.map.reaction.type.BooleanLogicGateReaction'));
delete from annotator_data_table where user_class_annotators_id in (select id from user_class_annotators_table where class_name = 'lcsb.mapviewer.model.map.reaction.type.BooleanLogicGateReaction');
delete from user_class_annotators_table where class_name = 'lcsb.mapviewer.model.map.reaction.type.BooleanLogicGateReaction';
delete from user_class_annotators_table where class_name = 'lcsb.mapviewer.model.map.reaction.type.BooleanLogicGateReaction';
delete from class_valid_annotation_miriam_type_table where class_valid_annotation_id in (select id from user_class_valid_annotations_table where class_name = 'lcsb.mapviewer.model.map.reaction.type.BooleanLogicGateReaction');
delete from user_class_valid_annotations_table where class_name = 'lcsb.mapviewer.model.map.reaction.type.BooleanLogicGateReaction';
delete from annotator_parameter_table where annotator_data_id in (select id from annotator_data_table where user_class_annotators_id in (select id from user_class_annotators_table where class_name = 'lcsb.mapviewer.model.map.reaction.type.BooleanLogicGateReaction'));
delete from annotator_data_table where user_class_annotators_id in (select id from user_class_annotators_table where class_name = 'lcsb.mapviewer.model.map.reaction.type.BooleanLogicGateReaction');
delete from user_class_annotators_table where class_name = 'lcsb.mapviewer.model.map.reaction.type.BooleanLogicGateReaction';
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment