Skip to content
Snippets Groups Projects
Commit 4528c7ab authored by Marek Szuba's avatar Marek Szuba
Browse files

Bump DB schema version to 99, add patch_98_99_a, purge 97_98 patch log

parent 3faf29ca
No related branches found
No related tags found
3 merge requests!457Patch to support longer assembly names in the mapping session table.,!398E99 version bump,!398E99 version bump
-- Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
-- Copyright [2016-2019] 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_98_99_a.sql
#
# Title: Update schema version.
#
# Description:
# Update schema_version in meta table to 99.
UPDATE meta SET meta_value='99' WHERE meta_key='schema_version';
# Patch identifier
INSERT INTO meta (species_id, meta_key, meta_value)
VALUES (NULL, 'patch', 'patch_98_99_a.sql|schema_version');
......@@ -308,13 +308,13 @@ CREATE TABLE IF NOT EXISTS meta (
# Add schema type and schema version to the meta table.
INSERT INTO meta (species_id, meta_key, meta_value) VALUES
(NULL, 'schema_type', 'core'),
(NULL, 'schema_version', '98');
(NULL, 'schema_version', '99');
# Patches included in this schema file:
# NOTE: At start of release cycle, remove patch entries from last release.
# NOTE: Avoid line-breaks in values.
INSERT INTO meta (species_id, meta_key, meta_value)
VALUES (NULL, 'patch', 'patch_97_98_a.sql|schema_version');
VALUES (NULL, 'patch', 'patch_98_99_a.sql|schema_version');
/**
......
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