Browse Source

Oops forgot file

spficklin 12 years ago
parent
commit
6778b0f971
1 changed files with 5 additions and 0 deletions
  1. 5 0
      tripal_core/chado_schema/upgrade-1.11-1.2.sql

+ 5 - 0
tripal_core/chado_schema/upgrade-1.11-1.2.sql

@@ -0,0 +1,5 @@
+insert into cv (name,definition) values ('chado_properties','Terms that are used in the chadoprop table to describe the state of the database');
+
+insert into dbxref (db_id,accession) values ((select db_id from db where name='null'), 'chado_properties:version');
+insert into cvterm (name,definition,cv_id,dbxref_id) values ('version','Chado schema version',(select cv_id from cv where name = 'chado_properties'),(select dbxref_id from dbxref where accession='chado_properties:version'));
+