Skip to content
Snippets Groups Projects
Commit b783b1eb authored by Andreas Kusalananda Kähäri's avatar Andreas Kusalananda Kähäri
Browse files

Patch to change analysis_description.display_label to "NOT NULL".

parent 9113c89e
No related branches found
No related tags found
No related merge requests found
# patch_54_55_g.sql
#
# title: Change analysis_description.display_label to "NOT NULL".
#
# description:
# Display labels are generally supposed to be non-NULL and non-empty.
# The display_labelfield in the analysis_description table allows for
# NULLs. This patch fixes this.
ALTER TABLE analysis_description
MODIFY COLUMN display_label VARCHAR(255) NOT NULL;
# patch identifier
INSERT INTO meta (species_id, meta_key, meta_value)
VALUES (NULL, 'patch',
'patch_54_55_g.sql|analysis_description.display_label_NOT_NULL');
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