Skip to content
Snippets Groups Projects
Commit ee1e11e8 authored by Glenn Proctor's avatar Glenn Proctor
Browse files

Change the names of some columns in identity_xref

parent e26157d8
No related branches found
No related tags found
No related merge requests found
# patch_52_53_c.sql
#
# title: identity xref rename
#
# description:
# Rename some columns in identity xref to make them clearer
#
# query_identity -> xref_identity
# target_identity -> ensembl_identity
# hit_start -> xref_start
# hit_end -> xref_end
# translation_start -> ensembl_start
# translation_end -> ensembl_end
ALTER TABLE identity_xref CHANGE COLUMN query_identity xref_identity INT(5);
ALTER TABLE identity_xref CHANGE COLUMN target_identity ensembl_identity INT(5);
ALTER TABLE identity_xref CHANGE COLUMN hit_start xref_start INT;
ALTER TABLE identity_xref CHANGE COLUMN hit_end xref_end INT;
ALTER TABLE identity_xref CHANGE COLUMN translation_start ensembl_start INT;
ALTER TABLE identity_xref CHANGE COLUMN translation_end ensembl_end INT;
# patch identifier
INSERT INTO meta (species_id, meta_key, meta_value) VALUES (NULL, 'patch', 'patch_52_53_c.sql|identity_xref_rename');
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