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
772d5283
Commit
772d5283
authored
6 years ago
by
James Allen
Browse files
Options
Downloads
Patches
Plain Diff
Consistently use KEY rather than INDEX
parent
8472e806
No related branches found
Branches containing commit
No related tags found
Tags containing commit
6 merge requests
!317
Xref parser mgiparser_ccds
,
!318
Standardise table.sql file
,
!342
Feature/schema update 96
,
!342
Feature/schema update 96
,
!318
Standardise table.sql file
,
!317
Xref parser mgiparser_ccds
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sql/table.sql
+4
-4
4 additions, 4 deletions
sql/table.sql
with
4 additions
and
4 deletions
sql/table.sql
+
4
−
4
View file @
772d5283
...
...
@@ -178,8 +178,8 @@ CREATE TABLE data_file (
PRIMARY
KEY
(
data_file_id
),
UNIQUE
KEY
df_unq_idx
(
coord_system_id
,
analysis_id
,
name
,
file_type
),
INDEX
df_name_idx
(
name
),
INDEX
df_analysis_idx
(
analysis_id
)
KEY
df_name_idx
(
name
),
KEY
df_analysis_idx
(
analysis_id
)
)
COLLATE
=
latin1_swedish_ci
ENGINE
=
MyISAM
;
...
...
@@ -1052,7 +1052,7 @@ CREATE TABLE transcript (
KEY
gene_index
(
gene_id
),
KEY
xref_id_index
(
display_xref_id
),
KEY
analysis_idx
(
analysis_id
),
UNIQUE
INDEX
canonical_translation_idx
(
canonical_translation_id
),
UNIQUE
KEY
canonical_translation_idx
(
canonical_translation_id
),
KEY
stable_id_idx
(
stable_id
,
version
)
)
COLLATE
=
latin1_swedish_ci
ENGINE
=
MyISAM
;
...
...
@@ -2168,7 +2168,7 @@ CREATE TABLE external_db (
description
TEXT
,
PRIMARY
KEY
(
external_db_id
),
UNIQUE
INDEX
db_name_db_release_idx
(
db_name
,
db_release
)
UNIQUE
KEY
db_name_db_release_idx
(
db_name
,
db_release
)
)
COLLATE
=
latin1_swedish_ci
ENGINE
=
MyISAM
;
...
...
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