Commit dd77303d authored by Piotr Gawron's avatar Piotr Gawron
Browse files

translation of postgres sql migration script version 8

parent b10a6da2
INSERT INTO cache_type(iddb, validity, classname)
VALUES (16, 28, 'lcsb.mapviewer.annotation.services.ChemicalParser');
INSERT INTO cache_type(iddb, validity, classname)
VALUES (17, 28, 'lcsb.mapviewer.annotation.services.MeSHParser');
INSERT INTO cache_type(iddb, validity, classname)
VALUES (18, 28, 'lcsb.mapviewer.annotation.services.MiRNAParser');
AlTER TABLE project_table
ADD column disease_iddb integer;
ALTER TABLE project_table
ADD CONSTRAINT project_table_miriam FOREIGN KEY (disease_iddb)
REFERENCES miriam_data_table (iddb);
UPDATE cache_type
SET classname= 'lcsb.mapviewer.annotation.services.PubmedParser'
where iddb = 3;
insert into changelog (svnversion, description, type, requestproject_iddb, requestuser_iddb) values
(851, 'Data sets (layouts) visualized dynamically in the browser', 'FUNCTIONALITY', null,
(select iddb from external_user where email ='marek.ostaszewski@uni.lu'));
insert into changelog (svnversion, description, type, requestproject_iddb, requestuser_iddb) values
(851, 'Micro RNA database', 'FUNCTIONALITY', null,
(select iddb from external_user where email ='stephan.gebel@uni.lu'));
insert into changelog (svnversion, description, type, requestproject_iddb, requestuser_iddb) values
(851, 'Chemical database', 'FUNCTIONALITY', null,
(select iddb from external_user where email ='stephan.gebel@uni.lu'));
\ No newline at end of file
--structures of drugs changed
delete from cachequery where type = 2 or type = 4;
--more data in mirna
delete from cachequery where type = 16 or type = 18;
insert into changelog (svnversion, description, type, requestproject_iddb, requestuser_iddb) values
(936, 'Reverse query for drugs, chemicals, micro RNAs interfaces', 'FUNCTIONALITY', null,
(select iddb from external_user where email ='marek.ostaszewski@uni.lu'));
\ No newline at end of file
-- default empty project should have apropriate status (but only when it exists)
update project_table set status = 7, progress = 100 where project_id='empty' and status =0 and progress =0;
insert into framework_version(version,"time", svnversion) values (8, timestamp'2016-05-17',1004);
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