Commit ea0d0271 authored by Leo Gordon's avatar Leo Gordon
Browse files

extending the meta value to TEXT

parent 5c52f484
......@@ -12,11 +12,11 @@ CREATE TABLE IF NOT EXISTS meta (
meta_id INT NOT NULL AUTO_INCREMENT,
species_id INT UNSIGNED DEFAULT 1,
meta_key VARCHAR(40) NOT NULL,
meta_value VARCHAR(255) BINARY NOT NULL,
meta_value TEXT NOT NULL,
PRIMARY KEY (meta_id),
UNIQUE KEY species_key_value_idx (species_id, meta_key, meta_value),
KEY species_value_idx (species_id, meta_value)
UNIQUE KEY species_key_value_idx (species_id, meta_key, meta_value(255)),
KEY species_value_idx (species_id, meta_value(255))
) COLLATE=latin1_swedish_ci ENGINE=MyISAM;
......
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