Unverified Commit 5e7ce85a authored by sgiorgetti's avatar sgiorgetti Committed by GitHub
Browse files

Merge pull request #12 from Ensembl/108_versionbump

108 version bump
parents 474f1bd1 07494400
-- Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
-- Copyright [2016-2022] 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_107_108_a.sql
#
# Title: Update schema version.
#
# Description:
# Update schema_version in meta table to 108.
UPDATE meta SET meta_value='108' WHERE meta_key='schema_version';
# Patch identifier
INSERT INTO meta (species_id, meta_key, meta_value)
VALUES (NULL, 'patch', 'patch_107_108_a.sql|schema_version');
...@@ -30,11 +30,11 @@ CREATE TABLE `meta` ( ...@@ -30,11 +30,11 @@ CREATE TABLE `meta` (
# Add schema type and schema version to the meta table # Add schema type and schema version to the meta table
INSERT INTO meta (meta_key, meta_value) VALUES INSERT INTO meta (meta_key, meta_value) VALUES
('schema_type', 'ontology'), ('schema_type', 'ontology'),
('schema_version', '107'); ('schema_version', '108');
# Patches included in this schema file # Patches included in this schema file
INSERT INTO meta (meta_key, meta_value) INSERT INTO meta (meta_key, meta_value)
VALUES ('patch', 'patch_106_107_a.sql|schema_version'); VALUES ('patch', 'patch_107_108_a.sql|schema_version');
CREATE TABLE `ontology` ( CREATE TABLE `ontology` (
`ontology_id` int(10) unsigned NOT NULL AUTO_INCREMENT, `ontology_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
......
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