Skip to content
Snippets Groups Projects
Commit ff8c5afe authored by Ian Longden's avatar Ian Longden
Browse files

new column linkage_annotation added to object_xref

parent c5bd32c9
No related branches found
No related tags found
No related merge requests found
# patch_45_46_e.sql
#
# title: object_xref linkage_annotation
#
# description:
# new column added to object_xref to keep info about teh object_xref
ALTER TABLE object_xref ADD COLUMN linkage_annotation VARCHAR(255) DEFAULT NULL;
# patch identifier
INSERT INTO meta (meta_key, meta_value) VALUES ('patch', 'patch_45_46_e.sql|object_xref_linkage_annotation');
......@@ -683,6 +683,7 @@ CREATE TABLE object_xref (
'regulatory_feature')
NOT NULL,
xref_id INT UNSIGNED NOT NULL,
linkage_annotation VARCHAR(255) DEFAULT NULL,
UNIQUE (ensembl_object_type, ensembl_id, xref_id),
KEY oxref_idx (object_xref_id, xref_id, ensembl_object_type, ensembl_id),
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment