Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
ensembl
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ensembl-gh-mirror
ensembl
Commits
4528c7ab
Commit
4528c7ab
authored
5 years ago
by
Marek Szuba
Browse files
Options
Downloads
Patches
Plain Diff
Bump DB schema version to 99, add patch_98_99_a, purge 97_98 patch log
parent
3faf29ca
No related branches found
Branches containing commit
No related tags found
Tags containing commit
3 merge requests
!457
Patch to support longer assembly names in the mapping session table.
,
!398
E99 version bump
,
!398
E99 version bump
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
sql/patch_98_99_a.sql
+27
-0
27 additions, 0 deletions
sql/patch_98_99_a.sql
sql/table.sql
+2
-2
2 additions, 2 deletions
sql/table.sql
with
29 additions
and
2 deletions
sql/patch_98_99_a.sql
0 → 100644
+
27
−
0
View file @
4528c7ab
-- 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'
);
This diff is collapsed.
Click to expand it.
sql/table.sql
+
2
−
2
View file @
4528c7ab
...
...
@@ -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'
,
'9
8
'
);
(
NULL
,
'schema_version'
,
'9
9
'
);
#
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_9
7
_9
8
_a.sql|schema_version'
);
VALUES
(
NULL
,
'patch'
,
'patch_9
8
_9
9
_a.sql|schema_version'
);
/**
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment