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

enforce refresh on old invalid links

parent c961af3c
No related branches found
No related tags found
2 merge requests!1700Resolve "introduce new frontend to the jar file build process",!1668Resolve "HGNC changed their links, reference by-symbol doesn't work"
Pipeline #85563 passed
delete from cache_query_table where value like '%genenames%';
--refresh all links in miriam_data_table
insert into minerva_job_table (job_type, job_status, job_parameters)
select 'REFRESH_MIRIAM_INFO', 'PENDING', concat('{"id":',id, ' }') from miriam_data_table where link like '%genenames%';
update miriam_data_table set link = null where link like '%genenames%';
delete from cache_query_table where value like '%genenames%';
--refresh all links in miriam_data_table
insert into minerva_job_table (job_type, job_status, job_parameters)
select 'REFRESH_MIRIAM_INFO', 'PENDING', concat('{"id":',id, ' }') from miriam_data_table where link like '%genenames%';
update miriam_data_table set link = null where link like '%genenames%';
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