Commit 10427c1a authored by Marek Szuba's avatar Marek Szuba
Browse files

Patch test databases

Source: release/98 branch of ols-ensembl-loader and master branches
of all other relevant Ensembl repositories, pulled a few minutes ago.
Compara, Variation and ontology schemas all have already been bumped to
version 98.
parent e808ea77
1 \N schema_version 97
1 \N schema_version 98
2 1 assembly.default NCBI34
3 1 species.taxonomy_id 9606
26 1 species.classification Homo sapiens
......@@ -108,3 +108,4 @@
175 \N patch patch_96_97_c.sql|rnaproduct_tables
176 \N patch patch_96_97_d.sql|add_object_type_rnaproduct
177 \N patch patch_96_97_e.sql|add_stable_id_event_type_rnaproduct
178 \N patch patch_97_98_a.sql|schema_version
1 \N schema_version 97
1 \N schema_version 98
2 1 assembly.default NCBI34
33 1 species.classification Chordata
32 1 species.classification Vertebrata
......@@ -108,3 +108,4 @@
157 \N patch patch_96_97_c.sql|rnaproduct_tables
158 \N patch patch_96_97_d.sql|add_object_type_rnaproduct
159 \N patch patch_96_97_e.sql|add_stable_id_event_type_rnaproduct
160 \N patch patch_97_98_a.sql|schema_version
1 \N schema_version 97
1 \N schema_version 98
2014 1 species.classification Haplorrhini
40 1 assembly.default GRCh37
41 1 assembly.date 2009-02
......@@ -113,3 +113,4 @@
2120 \N patch patch_96_97_c.sql|rnaproduct_tables
2121 \N patch patch_96_97_d.sql|add_object_type_rnaproduct
2122 \N patch patch_96_97_e.sql|add_stable_id_event_type_rnaproduct
2123 \N patch patch_97_98_a.sql|schema_version
......@@ -9,7 +9,7 @@
10 patch patch_72_73_b.sql|meta \N
12 patch patch_73_74_a.sql|schema_version \N
14 patch patch_74_75_a.sql|schema_version \N
15 schema_version 97 \N
15 schema_version 98 \N
16 patch patch_75_76_a.sql|schema_version \N
17 patch patch_76_77_a.sql|schema_version \N
18 patch patch_77_78_a.sql|schema_version \N
......@@ -40,3 +40,4 @@
43 patch patch_95_96_a.sql|schema_version \N
44 patch patch_95_96_b.sql|term_ontology_update \N
45 patch patch_96_97_a.sql|schema_version \N
46 patch patch_97_98_a.sql|schema_version \N
......@@ -126,7 +126,7 @@ CREATE TABLE `closure` (
`subparent_term_id` int(10) unsigned DEFAULT NULL,
`distance` tinyint(3) unsigned NOT NULL,
`ontology_id` int(10) unsigned NOT NULL,
`confident_relationship` tinyint(1) NOT NULL DEFAULT '0',
`confident_relationship` tinyint(1) NOT NULL DEFAULT 0,
PRIMARY KEY (`closure_id`),
UNIQUE KEY `child_parent_idx` (`child_term_id`,`parent_term_id`,`subparent_term_id`,`ontology_id`),
KEY `parent_subparent_idx` (`parent_term_id`,`subparent_term_id`),
......@@ -141,7 +141,7 @@ CREATE TABLE `meta` (
`species_id` int(1) unsigned DEFAULT NULL,
PRIMARY KEY (`meta_id`),
UNIQUE KEY `key_value_idx` (`meta_key`,`meta_value`)
) ENGINE=MyISAM AUTO_INCREMENT=46 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
) ENGINE=MyISAM AUTO_INCREMENT=47 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE TABLE `ontology` (
`ontology_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
......@@ -158,7 +158,7 @@ CREATE TABLE `relation` (
`child_term_id` int(10) unsigned NOT NULL,
`parent_term_id` int(10) unsigned NOT NULL,
`relation_type_id` int(10) unsigned NOT NULL,
`intersection_of` tinyint(3) unsigned NOT NULL DEFAULT '0',
`intersection_of` tinyint(3) unsigned NOT NULL DEFAULT 0,
`ontology_id` int(10) unsigned NOT NULL,
PRIMARY KEY (`relation_id`),
UNIQUE KEY `child_parent_idx` (`child_term_id`,`parent_term_id`,`relation_type_id`,`intersection_of`,`ontology_id`),
......@@ -178,7 +178,7 @@ CREATE TABLE `relation_type` (
CREATE TABLE `subset` (
`subset_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(64) CHARACTER SET latin1 NOT NULL,
`definition` varchar(128) CHARACTER SET latin1 NOT NULL,
`definition` varchar(1023) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
PRIMARY KEY (`subset_id`),
UNIQUE KEY `name_idx` (`name`)
) ENGINE=MyISAM AUTO_INCREMENT=18 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
......@@ -197,13 +197,13 @@ CREATE TABLE `synonym` (
CREATE TABLE `term` (
`term_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`ontology_id` int(10) unsigned NOT NULL,
`subsets` text CHARACTER SET latin1,
`subsets` text CHARACTER SET latin1 DEFAULT NULL,
`accession` varchar(64) CHARACTER SET latin1 NOT NULL,
`name` varchar(255) CHARACTER SET latin1 NOT NULL,
`definition` text CHARACTER SET latin1,
`definition` text CHARACTER SET latin1 DEFAULT NULL,
`is_root` int(11) DEFAULT NULL,
`is_obsolete` int(11) DEFAULT NULL,
`iri` text CHARACTER SET latin1,
`iri` text CHARACTER SET latin1 DEFAULT NULL,
PRIMARY KEY (`term_id`),
UNIQUE KEY `accession_idx` (`accession`),
UNIQUE KEY `ontology_acc_idx` (`ontology_id`,`accession`),
......
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