Commit 53e6da4f authored by Magali Ruffier's avatar Magali Ruffier
Browse files

updated to version 94

parent 6f882c15
-- Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
-- Copyright [2016-2018] EMBL-European Bioinformatics Institute
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
# patch_93_94_a.sql
#
# Title: Update schema version.
#
# Description:
# Update schema_version in meta table to 94.
UPDATE meta SET meta_value='94' WHERE meta_key='schema_version';
# Patch identifier
INSERT INTO meta (species_id, meta_key, meta_value)
VALUES (NULL, 'patch', 'patch_93_94_a.sql|schema_version');
......@@ -31,11 +31,11 @@ CREATE TABLE meta (
# Add schema type and schema version to the meta table
INSERT INTO meta (meta_key, meta_value) VALUES
('schema_type', 'ontology'),
('schema_version', '93');
('schema_version', '94');
# Patches included in this schema file
INSERT INTO meta (meta_key, meta_value)
VALUES ('patch', 'patch_92_93_a.sql|schema_version');
VALUES ('patch', 'patch_93_94_a.sql|schema_version');
CREATE TABLE ontology (
......
......@@ -56,7 +56,7 @@ use base qw( Exporter );
our @EXPORT = qw( software_version );
my $API_VERSION = 93;
my $API_VERSION = 94;
sub software_version { return $API_VERSION }
......
--
-- Created by SQL::Translator::Producer::SQLite
-- Created on Fri Apr 6 15:15:57 2018
-- Created on Tue Apr 24 11:41:38 2018
--
BEGIN TRANSACTION;
......
......@@ -39,7 +39,7 @@
95 \N patch patch_83_84_c.sql|protein_feature_unique
96 \N patch patch_83_84_d.sql|longer_synonym
1 \N schema_type core
2 \N schema_version 93
2 \N schema_version 94
8 1 assembly.accession GCA_000292705.1
10 1 assembly.date 2012-08
7 1 assembly.default GCA_000292705.1
......@@ -119,3 +119,4 @@
119 \N patch patch_92_93_a.sql|schema_version
120 \N patch patch_92_93_b.sql|biotype_table
121 \N patch patch_92_93_c.sql|collate_index_interpro
122 \N patch patch_93_94_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=122 DEFAULT CHARSET=latin1;
) ENGINE=MyISAM AUTO_INCREMENT=123 DEFAULT CHARSET=latin1;
CREATE TABLE `meta_coord` (
`table_name` varchar(40) COLLATE latin1_bin NOT NULL DEFAULT '',
......
--
-- Created by SQL::Translator::Producer::SQLite
-- Created on Fri Apr 6 15:16:01 2018
-- Created on Tue Apr 24 11:41:49 2018
--
BEGIN TRANSACTION;
......
1 \N schema_version 93
1 \N schema_version 94
2 1 assembly.default NCBI34
3 1 species.taxonomy_id 9606
26 1 species.classification Homo sapiens
......@@ -98,3 +98,4 @@
165 \N patch patch_92_93_a.sql|schema_version
166 \N patch patch_92_93_b.sql|biotype_table
167 \N patch patch_92_93_c.sql|collate_index_interpro
168 \N patch patch_93_94_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=168 DEFAULT CHARSET=latin1;
) ENGINE=MyISAM AUTO_INCREMENT=169 DEFAULT CHARSET=latin1;
CREATE TABLE `meta_coord` (
`table_name` varchar(40) COLLATE latin1_bin NOT NULL DEFAULT '',
......
--
-- Created by SQL::Translator::Producer::SQLite
-- Created on Fri Apr 6 15:16:04 2018
-- Created on Tue Apr 24 11:42:00 2018
--
BEGIN TRANSACTION;
......
1 \N schema_version 93
1 \N schema_version 94
2 1 assembly.default NCBI34
33 1 species.classification Chordata
32 1 species.classification Vertebrata
......@@ -98,3 +98,4 @@
147 \N patch patch_92_93_a.sql|schema_version
148 \N patch patch_92_93_b.sql|biotype_table
149 \N patch patch_92_93_c.sql|collate_index_interpro
150 \N patch patch_93_94_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=150 DEFAULT CHARSET=latin1;
) ENGINE=MyISAM AUTO_INCREMENT=151 DEFAULT CHARSET=latin1;
CREATE TABLE `meta_coord` (
`table_name` varchar(40) COLLATE latin1_bin NOT NULL DEFAULT '',
......
--
-- Created by SQL::Translator::Producer::SQLite
-- Created on Fri Apr 6 15:16:07 2018
-- Created on Tue Apr 24 11:42:12 2018
--
BEGIN TRANSACTION;
......
1 \N schema_version 93
1 \N schema_version 94
2014 1 species.classification Haplorrhini
40 1 assembly.default GRCh37
41 1 assembly.date 2009-02
......@@ -103,3 +103,4 @@
2110 \N patch patch_92_93_a.sql|schema_version
2111 \N patch patch_92_93_b.sql|biotype_table
2112 \N patch patch_92_93_c.sql|collate_index_interpro
2113 \N patch patch_93_94_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=2113 DEFAULT CHARSET=latin1;
) ENGINE=MyISAM AUTO_INCREMENT=2114 DEFAULT CHARSET=latin1;
CREATE TABLE `meta_coord` (
`table_name` varchar(40) COLLATE latin1_bin NOT NULL DEFAULT '',
......
--
-- Created by SQL::Translator::Producer::SQLite
-- Created on Fri Apr 6 15:16:11 2018
-- Created on Tue Apr 24 11:42:24 2018
--
BEGIN TRANSACTION;
......
1 \N schema_version 93
1 \N schema_version 94
2 1 assembly.default MULTIMAP
3 1 species.taxonomy_id 1
4 1 assembly.mapping chromosome:MULTIMAP#contig
......@@ -59,3 +59,4 @@
152 \N patch patch_92_93_a.sql|schema_version
153 \N patch patch_92_93_b.sql|biotype_table
154 \N patch patch_92_93_c.sql|collate_index_interpro
155 \N patch patch_93_94_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=155 DEFAULT CHARSET=latin1;
) ENGINE=MyISAM AUTO_INCREMENT=156 DEFAULT CHARSET=latin1;
CREATE TABLE `meta_coord` (
`table_name` varchar(40) COLLATE latin1_bin NOT NULL DEFAULT '',
......
--
-- Created by SQL::Translator::Producer::SQLite
-- Created on Fri Apr 6 15:16:13 2018
-- Created on Tue Apr 24 11:42:33 2018
--
BEGIN TRANSACTION;
......
--
-- Created by SQL::Translator::Producer::SQLite
-- Created on Fri Apr 6 15:16:17 2018
-- Created on Tue Apr 24 11:42:43 2018
--
BEGIN TRANSACTION;
......
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