Skip to content
Snippets Groups Projects
Commit bd0c647f authored by Alessandro Vullo's avatar Alessandro Vullo
Browse files

[ENSCORESW-752]. Patches for:

- schema version change: 74 --> 75
- addition of source column to transcript table.
parent 838763b0
No related branches found
No related tags found
No related merge requests found
# patch_74_75_a.sql
#
# Title: Update schema version.
#
# Description:
# Update schema_version in meta table to 75.
UPDATE meta SET meta_value='75' WHERE meta_key='schema_version';
# Patch identifier
INSERT INTO meta (species_id, meta_key, meta_value)
VALUES (NULL, 'patch', 'patch_74_75_a.sql|schema_version');
# patch_74_75_b.sql
#
# Title: Add source to transcript
#
# Description: Column allowing an optional source to be added to a transcript
ALTER TABLE transcript ADD COLUMN source VARCHAR(20) NOT NULL;
# Patch identifier
INSERT INTO meta (species_id, meta_key, meta_value)
VALUES (NULL, 'patch', 'patch_74_75_b.sql|transcript_source');
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