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
e262651f
Commit
e262651f
authored
16 years ago
by
Glenn Proctor
Browse files
Options
Downloads
Patches
Plain Diff
Remove NOT NULL constraint on object_xref.analysis_id
parent
0bcd02e4
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
sql/patch_53_54_c.sql
+1
-1
1 addition, 1 deletion
sql/patch_53_54_c.sql
sql/table.sql
+1
-1
1 addition, 1 deletion
sql/table.sql
with
2 additions
and
2 deletions
sql/patch_53_54_c.sql
+
1
−
1
View file @
e262651f
...
...
@@ -6,7 +6,7 @@
#
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
;
ALTER
TABLE
object_xref
ADD
COLUMN
analysis_id
SMALLINT
UNSIGNED
;
UPDATE
object_xref
ox
,
identity_xref
ix
SET
ox
.
analysis_id
=
ix
.
analysis_id
WHERE
ox
.
object_xref_id
=
ix
.
object_xref_id
;
...
...
This diff is collapsed.
Click to expand it.
sql/table.sql
+
1
−
1
View file @
e262651f
...
...
@@ -691,7 +691,7 @@ CREATE TABLE object_xref (
NOT
NULL
,
xref_id
INT
UNSIGNED
NOT
NULL
,
linkage_annotation
VARCHAR
(
255
)
DEFAULT
NULL
,
analysis_id
SMALLINT
UNSIGNED
NOT
NULL
,
analysis_id
SMALLINT
UNSIGNED
,
UNIQUE
(
ensembl_object_type
,
ensembl_id
,
xref_id
),
KEY
oxref_idx
(
object_xref_id
,
xref_id
,
ensembl_object_type
,
ensembl_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