From 79697cf24d0b068f70f1ecc3add633ebb0333293 Mon Sep 17 00:00:00 2001 From: Piotr Gawron <piotr.gawron@uni.lu> Date: Tue, 13 Aug 2019 17:51:52 +0200 Subject: [PATCH] missing operator added --- .../14.0.0~alpha.0/V14.0.0.20190527__extract_center_line.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/persist/src/main/resources/db/migration/14.0.0~alpha.0/V14.0.0.20190527__extract_center_line.sql b/persist/src/main/resources/db/migration/14.0.0~alpha.0/V14.0.0.20190527__extract_center_line.sql index 4ae7db924b..6a4f8b980f 100644 --- a/persist/src/main/resources/db/migration/14.0.0~alpha.0/V14.0.0.20190527__extract_center_line.sql +++ b/persist/src/main/resources/db/migration/14.0.0~alpha.0/V14.0.0.20190527__extract_center_line.sql @@ -19,7 +19,7 @@ alter table reaction_table add column output_operator integer; update reaction_table set reactant = (select id from reaction_node_table where node_type_db='REACTANT_NODE' and reaction_id=reaction_table.id order by id limit 1); update reaction_table set product = (select id from reaction_node_table where node_type_db='PRODUCT_NODE' and reaction_id=reaction_table.id order by id limit 1); -update reaction_table set input_operator = (select id from reaction_node_table where node_type_db in ('AND_OPERATOR_NODE', 'ASSOCIATION_OPERATOR_NODE', 'NAND_OPERATOR_NODE', 'OR_OPERATOR_NODE') and reaction_id=reaction_table.id order by id limit 1); +update reaction_table set input_operator = (select id from reaction_node_table where node_type_db in ('AND_OPERATOR_NODE', 'ASSOCIATION_OPERATOR_NODE', 'NAND_OPERATOR_NODE', 'OR_OPERATOR_NODE', 'UNKNOWN_OPERATOR_NODE') and reaction_id=reaction_table.id order by id limit 1); update reaction_table set output_operator = (select id from reaction_node_table where node_type_db in ('DISSOCIATION_OPERATOR_NODE', 'SPLIT_OPERATOR_NODE', 'TRUNCATION_OPERATOR_NODE') and reaction_id=reaction_table.id order by id limit 1); update reaction_table set start_point = (select one_before_last_point from reaction_node_table, polyline_data_table where reaction_node_table.id = reaction_table.reactant and polyline_data_table.id = line_id); -- GitLab