remove variable attribute section for traits.
[sgn.git] / db / 00015 / TomatoGenomePageProp.pm
blobf4570bc72bcfb2aa92b8633e445501ce71369b29
1 package TomatoGenomePageProp;
2 use Moose;
4 extends 'CXGN::Metadata::Dbpatch';
6 has '+description' => ( default => <<'');
7 Adds an organismprop to the tomato organism turning on its genome page.
9 has '+sql' => ( default => <<EOS );
11 INSERT INTO dbxref
12 ( db_id, accession, version )
13 VALUES ( 71, 'autocreated:genome_page', 1 );
16 INSERT INTO cvterm
17 (cv_id, name, definition, dbxref_id )
18 VALUES ( 2733
19 ,'genome_page'
20 ,'attribute for an organism indicating whether an SGN genome page should be displayed for it'
22 ( SELECT dbxref_id FROM dbxref WHERE accession = 'autocreated:genome_page' )
25 INSERT INTO organismprop
26 (organism_id,type_id,value)
27 VALUES (1,(select cvterm_id from cvterm where name = 'genome_page'),1);
29 EOS