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
50aecca5
Commit
50aecca5
authored
13 years ago
by
Ian Longden
Browse files
Options
Downloads
Patches
Plain Diff
added is)ref to alt_allele table to say which is the reference allele
parent
7b05e45f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
sql/patch_63_64_c.sql
+18
-0
18 additions, 0 deletions
sql/patch_63_64_c.sql
sql/table.sql
+1
-0
1 addition, 0 deletions
sql/table.sql
with
19 additions
and
0 deletions
sql/patch_63_64_c.sql
0 → 100644
+
18
−
0
View file @
50aecca5
#
patch_63_64_c
.
sql
#
#
Title
:
#
is_ref
to
alt_allele
#
#
Description
:
#
Add
is_ref
to
alt_allele
to
specify
which
is
the
reference
al
#
Add
the
new
column
.
ALTER
TABLE
alt_allele
ADD
COLUMN
is_ref
BOOLEAN
NOT
NULL
DEFAULT
0
AFTER
gene_id
;
#
Insert
patch
identifier
.
INSERT
INTO
meta
(
species_id
,
meta_key
,
meta_value
)
VALUES
(
NULL
,
'patch'
,
'patch_63_64_c.sql|is_ref_added_to_alt_allele'
);
This diff is collapsed.
Click to expand it.
sql/table.sql
+
1
−
0
View file @
50aecca5
...
...
@@ -810,6 +810,7 @@ CREATE TABLE unconventional_transcript_association (
CREATE
TABLE
alt_allele
(
alt_allele_id
INT
(
10
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
gene_id
INT
(
10
)
UNSIGNED
NOT
NULL
,
is_ref
BOOLEAN
NOT
NULL
DEFAULT
0
,
UNIQUE
KEY
gene_idx
(
gene_id
),
UNIQUE
KEY
allele_idx
(
alt_allele_id
,
gene_id
)
...
...
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