Commit 6399c37b authored by Magali Ruffier's avatar Magali Ruffier
Browse files

ENSCORESW-2967: update schema to 96

parent e3f8508b
......@@ -489,7 +489,7 @@ CREATE TABLE `meta` (
PRIMARY KEY (`meta_id`),
UNIQUE KEY `species_key_value_idx` (`species_id`,`meta_key`,`meta_value`),
KEY `species_value_idx` (`species_id`,`meta_value`)
) ENGINE=MyISAM AUTO_INCREMENT=160 DEFAULT CHARSET=latin1;
) ENGINE=MyISAM AUTO_INCREMENT=162 DEFAULT CHARSET=latin1;
CREATE TABLE `meta_coord` (
`table_name` varchar(40) COLLATE latin1_bin NOT NULL DEFAULT '',
......@@ -543,7 +543,7 @@ CREATE TABLE `object_xref` (
`linkage_annotation` varchar(255) COLLATE latin1_bin DEFAULT NULL,
`analysis_id` smallint(5) unsigned DEFAULT NULL,
PRIMARY KEY (`object_xref_id`),
UNIQUE KEY `xref_idx` (`xref_id`,`ensembl_object_type`,`ensembl_id`,`analysis_id`),
UNIQUE KEY `xref_idx` (`xref_id`,`ensembl_object_type`,`ensembl_id`),
KEY `ensembl_idx` (`ensembl_object_type`,`ensembl_id`),
KEY `analysis_idx` (`analysis_id`)
) ENGINE=MyISAM AUTO_INCREMENT=81424 DEFAULT CHARSET=latin1 COLLATE=latin1_bin;
......
--
-- Created by SQL::Translator::Producer::SQLite
-- Created on Wed Sep 26 16:19:13 2018
-- Created on Thu Dec 6 13:50:26 2018
--
BEGIN TRANSACTION;
......
57 \N schema_version 95
57 \N schema_version 96
2 \N schema_type compara
3 \N patch patch_84_85_a.sql|schema_version
4 \N patch patch_84_85_b.sql|gene_tree_root_attr
......@@ -49,3 +49,4 @@
59 \N patch patch_94_95_b.sql|remove_unused_indices
60 \N patch patch_94_95_c.sql|genome_db_is_good_for_alignment
61 \N patch patch_94_95_d.sql|node_type_within_species_speciation
62 \N patch patch_95_96_a.sql|schema_version
......@@ -429,7 +429,7 @@ CREATE TABLE `meta` (
PRIMARY KEY (`meta_id`),
UNIQUE KEY `species_key_value_idx` (`species_id`,`meta_key`,`meta_value`(255)),
KEY `species_value_idx` (`species_id`,`meta_value`(255))
) ENGINE=MyISAM AUTO_INCREMENT=62 DEFAULT CHARSET=latin1;
) ENGINE=MyISAM AUTO_INCREMENT=63 DEFAULT CHARSET=latin1;
CREATE TABLE `method_link` (
`method_link_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
......
--
-- Created by SQL::Translator::Producer::SQLite
-- Created on Wed Sep 26 16:19:20 2018
-- Created on Thu Dec 6 13:50:36 2018
--
BEGIN TRANSACTION;
......@@ -620,7 +620,7 @@ CREATE TABLE "object_xref" (
"analysis_id" smallint
);
CREATE UNIQUE INDEX "xref_idx" ON "object_xref" ("xref_id", "ensembl_object_type", "ensembl_id", "analysis_id");
CREATE UNIQUE INDEX "xref_idx" ON "object_xref" ("xref_id", "ensembl_object_type", "ensembl_id");
--
-- Table: "ontology_xref"
......
1 \N schema_type core
2 \N schema_version 95
2 \N schema_version 96
3 \N patch patch_65_66_a.sql|schema_version
4 \N patch patch_65_66_b.sql|fix_external_db_id
5 \N patch patch_65_66_c.sql|reorder_unmapped_obj_index
......@@ -181,3 +181,5 @@
1693 \N patch patch_93_94_c.sql|default_aln_type
1694 \N patch patch_94_95_a.sql|schema_version
1695 \N patch patch_94_95_b.sql|vertebrate_division_rename
1696 \N patch patch_94_95_c.sql|ox_key_update
1697 \N patch patch_95_96_a.sql|schema_version
......@@ -489,7 +489,7 @@ CREATE TABLE `meta` (
PRIMARY KEY (`meta_id`),
UNIQUE KEY `species_key_value_idx` (`species_id`,`meta_key`,`meta_value`),
KEY `species_value_idx` (`species_id`,`meta_value`)
) ENGINE=MyISAM AUTO_INCREMENT=1696 DEFAULT CHARSET=latin1;
) ENGINE=MyISAM AUTO_INCREMENT=1698 DEFAULT CHARSET=latin1;
CREATE TABLE `meta_coord` (
`table_name` varchar(40) COLLATE latin1_bin NOT NULL DEFAULT '',
......@@ -543,7 +543,7 @@ CREATE TABLE `object_xref` (
`linkage_annotation` varchar(255) COLLATE latin1_bin DEFAULT NULL,
`analysis_id` smallint(5) unsigned DEFAULT NULL,
PRIMARY KEY (`object_xref_id`),
UNIQUE KEY `xref_idx` (`xref_id`,`ensembl_object_type`,`ensembl_id`,`analysis_id`),
UNIQUE KEY `xref_idx` (`xref_id`,`ensembl_object_type`,`ensembl_id`),
KEY `ensembl_idx` (`ensembl_object_type`,`ensembl_id`),
KEY `analysis_idx` (`analysis_id`)
) ENGINE=MyISAM AUTO_INCREMENT=81424 DEFAULT CHARSET=latin1 COLLATE=latin1_bin;
......
1 \N schema_type variation
2 \N schema_version 95
2 \N schema_version 96
6 1 species.production_name mus_musculus
15 1 web_config sv_study#Keane 2011 (DGVa study estd118)#Keane 2011#estd118
14 1 web_config set#All failed variants#All failed variants#variation_set_fail_all#failed
......@@ -61,3 +61,4 @@
67 \N patch patch_93_94_a.sql|schema version
68 \N patch patch_94_95_a.sql|schema version
69 \N patch patch_94_95_b.sql|create table to store allele synonyms
70 \N patch patch_95_96_a.sql|schema_version
......@@ -178,7 +178,7 @@ CREATE TABLE `meta` (
PRIMARY KEY (`meta_id`),
UNIQUE KEY `species_key_value_idx` (`species_id`,`meta_key`,`meta_value`),
KEY `species_value_idx` (`species_id`,`meta_value`)
) ENGINE=MyISAM AUTO_INCREMENT=70 DEFAULT CHARSET=latin1;
) ENGINE=MyISAM AUTO_INCREMENT=71 DEFAULT CHARSET=latin1;
CREATE TABLE `meta_coord` (
`table_name` varchar(40) NOT NULL,
......
--
-- Created by SQL::Translator::Producer::SQLite
-- Created on Wed Sep 26 16:19:27 2018
-- Created on Thu Dec 6 13:50:47 2018
--
BEGIN TRANSACTION;
......@@ -609,7 +609,7 @@ CREATE TABLE "object_xref" (
"analysis_id" smallint
);
CREATE UNIQUE INDEX "xref_idx" ON "object_xref" ("xref_id", "ensembl_object_type", "ensembl_id", "analysis_id");
CREATE UNIQUE INDEX "xref_idx" ON "object_xref" ("xref_id", "ensembl_object_type", "ensembl_id");
--
-- Table: "ontology_xref"
......
1 \N schema_version 95
1 \N schema_version 96
2 1 assembly.default NCBI34
3 1 species.taxonomy_id 9606
26 1 species.classification Homo sapiens
......@@ -102,3 +102,5 @@
156 \N patch patch_93_94_c.sql|default_aln_type
157 \N patch patch_94_95_a.sql|schema_version
158 \N patch patch_94_95_b.sql|vertebrate_division_rename
159 \N patch patch_94_95_c.sql|ox_key_update
160 \N patch patch_95_96_a.sql|schema_version
......@@ -479,7 +479,7 @@ CREATE TABLE `meta` (
PRIMARY KEY (`meta_id`),
UNIQUE KEY `species_key_value_idx` (`species_id`,`meta_key`,`meta_value`),
KEY `species_value_idx` (`species_id`,`meta_value`)
) ENGINE=MyISAM AUTO_INCREMENT=159 DEFAULT CHARSET=latin1;
) ENGINE=MyISAM AUTO_INCREMENT=161 DEFAULT CHARSET=latin1;
CREATE TABLE `meta_coord` (
`table_name` varchar(40) COLLATE latin1_bin NOT NULL DEFAULT '',
......@@ -533,7 +533,7 @@ CREATE TABLE `object_xref` (
`linkage_annotation` varchar(255) COLLATE latin1_bin DEFAULT NULL,
`analysis_id` smallint(5) unsigned DEFAULT NULL,
PRIMARY KEY (`object_xref_id`),
UNIQUE KEY `xref_idx` (`xref_id`,`ensembl_object_type`,`ensembl_id`,`analysis_id`),
UNIQUE KEY `xref_idx` (`xref_id`,`ensembl_object_type`,`ensembl_id`),
KEY `ensembl_idx` (`ensembl_object_type`,`ensembl_id`),
KEY `analysis_idx` (`analysis_id`)
) ENGINE=MyISAM AUTO_INCREMENT=81424 DEFAULT CHARSET=latin1 COLLATE=latin1_bin;
......
--
-- Created by SQL::Translator::Producer::SQLite
-- Created on Wed Sep 26 16:19:29 2018
-- Created on Thu Dec 6 13:50:51 2018
--
BEGIN TRANSACTION;
......
......@@ -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 95 \N
15 schema_version 96 \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
......@@ -37,3 +37,4 @@
40 patch patch_92_93_a.sql|schema_version \N
41 patch patch_93_94_a.sql|schema_version \N
42 patch patch_94_95_a.sql|schema_version \N
43 patch patch_95_96_a.sql|schema_version \N
......@@ -139,7 +139,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=43 DEFAULT CHARSET=latin1;
) ENGINE=MyISAM AUTO_INCREMENT=44 DEFAULT CHARSET=latin1;
CREATE TABLE `ontology` (
`ontology_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
......
--
-- Created by SQL::Translator::Producer::SQLite
-- Created on Wed Sep 26 16:19:36 2018
-- Created on Thu Dec 6 13:51:01 2018
--
BEGIN TRANSACTION;
......@@ -620,7 +620,7 @@ CREATE TABLE "object_xref" (
"analysis_id" smallint
);
CREATE UNIQUE INDEX "xref_idx" ON "object_xref" ("xref_id", "ensembl_object_type", "ensembl_id", "analysis_id");
CREATE UNIQUE INDEX "xref_idx" ON "object_xref" ("xref_id", "ensembl_object_type", "ensembl_id");
--
-- Table: "ontology_xref"
......
1 \N schema_type core
2 \N schema_version 95
2 \N schema_version 96
3 \N patch patch_68_69_a.sql|schema_version
4 1 species.taxonomy_id 4565
6 1 species.alias bread wheat
......@@ -157,3 +157,5 @@
237 \N patch patch_93_94_c.sql|default_aln_type
238 \N patch patch_94_95_a.sql|schema_version
239 \N patch patch_94_95_b.sql|vertebrate_division_rename
240 \N patch patch_94_95_c.sql|ox_key_update
241 \N patch patch_95_96_a.sql|schema_version
......@@ -489,7 +489,7 @@ CREATE TABLE `meta` (
PRIMARY KEY (`meta_id`),
UNIQUE KEY `species_key_value_idx` (`species_id`,`meta_key`,`meta_value`),
KEY `species_value_idx` (`species_id`,`meta_value`)
) ENGINE=MyISAM AUTO_INCREMENT=240 DEFAULT CHARSET=latin1;
) ENGINE=MyISAM AUTO_INCREMENT=242 DEFAULT CHARSET=latin1;
CREATE TABLE `meta_coord` (
`table_name` varchar(40) COLLATE latin1_bin NOT NULL DEFAULT '',
......@@ -543,7 +543,7 @@ CREATE TABLE `object_xref` (
`linkage_annotation` varchar(255) COLLATE latin1_bin DEFAULT NULL,
`analysis_id` smallint(5) unsigned DEFAULT NULL,
PRIMARY KEY (`object_xref_id`),
UNIQUE KEY `xref_idx` (`xref_id`,`ensembl_object_type`,`ensembl_id`,`analysis_id`),
UNIQUE KEY `xref_idx` (`xref_id`,`ensembl_object_type`,`ensembl_id`),
KEY `ensembl_idx` (`ensembl_object_type`,`ensembl_id`),
KEY `analysis_idx` (`analysis_id`)
) ENGINE=MyISAM AUTO_INCREMENT=81424 DEFAULT CHARSET=latin1 COLLATE=latin1_bin;
......
--
-- Created by SQL::Translator::Producer::SQLite
-- Created on Wed Sep 26 16:19:43 2018
-- Created on Thu Dec 6 13:51:13 2018
--
BEGIN TRANSACTION;
......@@ -609,7 +609,7 @@ CREATE TABLE "object_xref" (
"analysis_id" smallint
);
CREATE UNIQUE INDEX "xref_idx" ON "object_xref" ("xref_id", "ensembl_object_type", "ensembl_id", "analysis_id");
CREATE UNIQUE INDEX "xref_idx" ON "object_xref" ("xref_id", "ensembl_object_type", "ensembl_id");
--
-- Table: "ontology_xref"
......
......@@ -39,7 +39,7 @@
190 \N patch patch_83_84_c.sql|protein_feature_unique
191 \N patch patch_83_84_d.sql|longer_synonym
1 \N schema_type core
2 \N schema_version 95
2 \N schema_version 96
8 1 assembly.accession GCA_000292705.1
10 1 assembly.date 2012-08
7 1 assembly.default GCA_000292705.1
......@@ -177,3 +177,5 @@
219 \N patch patch_93_94_c.sql|default_aln_type
220 \N patch patch_94_95_a.sql|schema_version
221 \N patch patch_94_95_b.sql|vertebrate_division_rename
222 \N patch patch_94_95_c.sql|ox_key_update
223 \N patch patch_95_96_a.sql|schema_version
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