Skip to content

Commit

Permalink
Merge pull request #25 from safrant/master
Browse files Browse the repository at this point in the history
Update DB script per QA findings
  • Loading branch information
lexevs authored Sep 14, 2018
2 parents 514c59c + 54b0fb9 commit accce59
Showing 1 changed file with 35 additions and 5 deletions.
40 changes: 35 additions & 5 deletions software/cananolab-webapp/db-scripts/2.3.5/Update_caNanoLab25.sql
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ update other_nanomaterial_entity
set type = 'silica' where type = 'Silica';


/*CANANOLAB-542*/
update nano_function
set other_function_type = NULL
where other_function_type in ('Adjuvant','Drug Carrier', 'Linker','other');

/*CANANOLAB-543*/
delete from common_lookup
where
Expand Down Expand Up @@ -59,13 +54,28 @@ update technique
set type = 'spectrophotometry'
where type = 'microplate reader';

update common_lookup
set value = 'spectrophotometry'
where name = 'technique'
and value = 'microplate reader';

update technique
set type = 'imaging'
where type = 'IVIS Lumina LT in Vivo Imaging System';

update common_lookup
set value = 'imaging'
where name = 'technique'
and value = 'IVIS Lumina LT in Vivo Imaging System';

update technique
set type = 'gas sorption'
where type = 'surface area';

update common_lookup
set value = 'gas sorption'
where name = 'technique'
and value = 'surface area';

/*CANANOLAB-547*/
Delete from common_lookup where value = 'cell exxpansion' ;
Expand All @@ -76,6 +86,9 @@ update publication
set category = 'peer review article'
where category = 'Article';

delete from common_lookup
where name='publication'
and value = 'Article';

/*CANANOLAB-544*/
delete from common_lookup
Expand Down Expand Up @@ -109,6 +122,17 @@ where name = 'other_pc'
and attribute = 'otherAssayType'
and value = 'fluorescence spectrophotometry';

update characterization
set assay_type = 'fluorescence intensity correlation analysis'
where assay_type = 'fluorescence correlation spectroscopy';

update common_lookup
set value = 'fluorescence intensity correlation analysis'
where name = 'other_pc'
and attribute = 'otherAssayType'
and value = 'fluorescence correlation spectroscopy';


update characterization
set assay_type = 'surface chemistry'
where assay_type = 'Fourier transform infrared spectroscopy';
Expand Down Expand Up @@ -167,6 +191,12 @@ update characterization
set assay_type = 'chemical analysis'
where assay_type = 'nuclear magnetic resonance';

delete from common_lookup
where name = 'other_pc'
and attribute = 'otherAssayType'
and value = 'nuclear magnetic resonance';


update characterization
set assay_type = 'photoacoustic sensing'
where assay_type = 'photoacoustic spectroscopy';
Expand Down

0 comments on commit accce59

Please sign in to comment.