Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ensembl-gh-mirror
ensembl-ontology-schema
Commits
f98e7651
Commit
f98e7651
authored
Jan 05, 2022
by
Tamara El Naboulsi
Browse files
107 version bump
parent
164d501a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
2 deletions
+29
-2
sql/patch_106_107_a.sql
sql/patch_106_107_a.sql
+27
-0
sql/tables.sql
sql/tables.sql
+2
-2
No files found.
sql/patch_106_107_a.sql
0 → 100644
View file @
f98e7651
-- 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_106_107_a
.
sql
#
#
Title
:
Update
schema
version
.
#
#
Description
:
#
Update
schema_version
in
meta
table
to
107
.
UPDATE
meta
SET
meta_value
=
'107'
WHERE
meta_key
=
'schema_version'
;
#
Patch
identifier
INSERT
INTO
meta
(
species_id
,
meta_key
,
meta_value
)
VALUES
(
NULL
,
'patch'
,
'patch_106_107_a.sql|schema_version'
);
sql/tables.sql
View file @
f98e7651
...
...
@@ -30,11 +30,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'
,
'10
6
'
);
(
'schema_version'
,
'10
7
'
);
#
Patches
included
in
this
schema
file
INSERT
INTO
meta
(
meta_key
,
meta_value
)
VALUES
(
'patch'
,
'patch_10
5
_10
6
_a.sql|schema_version'
);
VALUES
(
'patch'
,
'patch_10
6
_10
7
_a.sql|schema_version'
);
CREATE
TABLE
`ontology`
(
`ontology_id`
int
(
10
)
unsigned
NOT
NULL
AUTO_INCREMENT
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment