Commit 4ec364e5 authored by Leo Gordon's avatar Leo Gordon
Browse files

try turning meta_value into TEXT

parent 46cf8a43
# Extend several fields in analysis to 255 characters:
ALTER TABLE analysis MODIFY COLUMN module varchar(255);
ALTER TABLE db_file MODIFY COLUMN module varchar(255);
ALTER TABLE program MODIFY COLUMN module varchar(255);
ALTER TABLE program_file MODIFY COLUMN module varchar(255);
ALTER TABLE analysis MODIFY COLUMN module VARCHAR(255);
ALTER TABLE db_file MODIFY COLUMN module VARCHAR(255);
ALTER TABLE program MODIFY COLUMN module VARCHAR(255);
ALTER TABLE program_file MODIFY COLUMN module VARCHAR(255);
ALTER TABLE meta DROP INDEX species_key_value_idx;
ALTER TABLE meta DROP INDEX species_value_idx;
ALTER TABLE meta MODIFY COLUMN meta_value TEXT;
ALTER TABLE meta ADD UNIQUE KEY species_key_value_idx (species_id,meta_key,meta_value(255));
ALTER TABLE meta ADD KEY species_value_idx (species_id,meta_value(255));
Markdown is supported
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