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
e81d5578
Commit
e81d5578
authored
14 years ago
by
Monika Komorowska
Browse files
Options
Downloads
Patches
Plain Diff
Added db_release field to the unique index.
parent
4293fa01
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sql/patch_61_62_c.sql
+4
-4
4 additions, 4 deletions
sql/patch_61_62_c.sql
with
4 additions
and
4 deletions
sql/patch_61_62_c.sql
+
4
−
4
View file @
e81d5578
#
patch_61_62_c
.
sql
#
patch_61_62_c
.
sql
#
#
#
Title
:
Index
for
db_name
.
#
Title
:
Index
for
db_name
and
db_release
.
#
#
#
Description
:
#
Description
:
#
Add
unique
index
to
db_name
field
in
external_db
table
.
#
Add
unique
index
to
db_name
and
db_release
field
s
in
external_db
table
.
CREATE
UNIQUE
INDEX
db_name_idx
ON
external_db
(
db_name
);
CREATE
UNIQUE
INDEX
db_name_
db_release_
idx
ON
external_db
(
db_name
,
db_release
);
#
Patch
identifier
#
Patch
identifier
INSERT
INTO
meta
(
species_id
,
meta_key
,
meta_value
)
INSERT
INTO
meta
(
species_id
,
meta_key
,
meta_value
)
VALUES
(
NULL
,
'patch'
,
'patch_61_62_c.sql|db_name_idx'
);
VALUES
(
NULL
,
'patch'
,
'patch_61_62_c.sql|db_name_
db_release_
idx'
);
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