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
eb5bbe6f
Commit
eb5bbe6f
authored
16 years ago
by
Glenn Proctor
Browse files
Options
Downloads
Patches
Plain Diff
Patches for release 54
parent
558c611f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
sql/patch_53_54_a.sql
+13
-0
13 additions, 0 deletions
sql/patch_53_54_a.sql
sql/patch_53_54_b.sql
+17
-0
17 additions, 0 deletions
sql/patch_53_54_b.sql
sql/patch_53_54_c.sql
+22
-0
22 additions, 0 deletions
sql/patch_53_54_c.sql
with
52 additions
and
0 deletions
sql/patch_53_54_a.sql
0 → 100644
+
13
−
0
View file @
eb5bbe6f
#
patch_53_54_a
.
sql
#
#
title
:
update
schema
version
#
#
description
:
#
Update
schema_version
in
meta
table
to
54
UPDATE
meta
SET
meta_value
=
'54'
WHERE
meta_key
=
'schema_version'
;
#
patch
identifier
INSERT
INTO
meta
(
species_id
,
meta_key
,
meta_value
)
VALUES
(
NULL
,
'patch'
,
'patch_53_54_a.sql|schema_version'
);
This diff is collapsed.
Click to expand it.
sql/patch_53_54_b.sql
0 → 100644
+
17
−
0
View file @
eb5bbe6f
#
patch_53_54_b
.
sql
#
#
title
:
Widen
some
text
columns
#
#
description
:
#
Change
oligo_probe
.
name
to
40
characters
,
external_db
.
db_name
to
100
chars
,
analysis
.
logic_name
to
128
characters
ALTER
TABLE
oligo_probe
MODIFY
name
VARCHAR
(
40
);
ALTER
TABLE
external_db
MODIFY
db_name
VARCHAR
(
100
)
NOT
NULL
;
ALTER
TABLE
analysis
MODIFY
logic_name
VARCHAR
(
128
)
NOT
NULL
;
#
patch
identifier
INSERT
INTO
meta
(
species_id
,
meta_key
,
meta_value
)
VALUES
(
NULL
,
'patch'
,
'patch_53_54_b.sql|widen_columns'
);
This diff is collapsed.
Click to expand it.
sql/patch_53_54_c.sql
0 → 100644
+
22
−
0
View file @
eb5bbe6f
#
patch_53_54_c
.
sql
#
#
title
:
Move
analysis_id
from
identity_xref
to
object_xref
#
#
description
:
#
Add
analysis_xref
column
to
object_xref
,
copy
values
from
identity_xref
,
remove
column
from
identity_xref
.
#
Will
allow
all
object_xref
relationships
to
have
an
analysis
,
not
just
those
from
sequence
matching
.
ALTER
TABLE
object_xref
ADD
COLUMN
analysis_id
SMALLINT
UNSIGNED
NOT
NULL
;
UPDATE
object_xref
ox
,
identity_xref
ix
SET
ox
.
analysis_id
=
ix
.
analysis_id
WHERE
ox
.
object_xref_id
=
ix
.
object_xref_id
;
ALTER
TABLE
object_xref
ADD
KEY
analysis_idx
(
analysis_id
);
ALTER
TABLE
identity_xref
DROP
KEY
analysis_idx
;
ALTER
TABLE
identity_xref
DROP
COLUMN
analysis_id
;
#
patch
identifier
INSERT
INTO
meta
(
species_id
,
meta_key
,
meta_value
)
VALUES
(
NULL
,
'patch'
,
'patch_53_54_c.sql|identity_object_analysis_move'
);
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