From 2c99e676ae33f834b73bf9f081aac53487483098 Mon Sep 17 00:00:00 2001 From: Marc Chakiachvili Date: Thu, 22 Dec 2022 09:03:59 +0000 Subject: [PATCH] Schema version patch for 110 --- sql/patch_109_110_a.sql | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 sql/patch_109_110_a.sql diff --git a/sql/patch_109_110_a.sql b/sql/patch_109_110_a.sql new file mode 100644 index 000000000..a6aab7b53 --- /dev/null +++ b/sql/patch_109_110_a.sql @@ -0,0 +1,23 @@ +-- 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. + +/** +@header patch_109_110_a.sql - schema version +@desc Update schema_version in meta table to 109 +*/ + +UPDATE meta SET meta_value='110' WHERE meta_key='schema_version'; + +-- patch identifier +INSERT INTO meta (species_id, meta_key, meta_value) VALUES (NULL, 'patch', 'patch_109_110_a.sql|schema_version');