Commit 8c8ad6fc authored by Piotr Gawron's avatar Piotr Gawron
Browse files

pathways are included in db change

parent b7f30b21
......@@ -5,7 +5,7 @@ alter table reaction_table add column z integer;
with v_element_table as
(
select id, row_number() over (order by width*height desc, id) as rn from element_table where not element_type_db like '%COMPARTMENT%' and compartment_id is null and idcomplexdb is null
select id, row_number() over (order by width*height desc, id) as rn from element_table where not element_type_db like '%COMPARTMENT%' and not element_type_db like '%PATHWAY%' and compartment_id is null and idcomplexdb is null
)
update element_table set z = v_element_table.rn
from v_element_table
......
Markdown is supported
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