schema/mysql: allow for large property values

This commit is contained in:
Thomas Gelf 2015-11-25 12:55:07 +01:00
parent a71bdfeb44
commit 625de0d3aa
2 changed files with 3 additions and 1 deletions

View File

@ -0,0 +1,2 @@
ALTER TABLE imported_property MODIFY property_value MEDIUMTEXT NULL DEFAULT NULL;

View File

@ -923,7 +923,7 @@ CREATE TABLE imported_rowset_row (
CREATE TABLE imported_property ( CREATE TABLE imported_property (
checksum VARBINARY(20) NOT NULL, checksum VARBINARY(20) NOT NULL,
property_name VARCHAR(64) NOT NULL, property_name VARCHAR(64) NOT NULL,
property_value TEXT NOT NULL, property_value MEDIUMTEXT NOT NULL,
format enum ('string', 'expression', 'json'), format enum ('string', 'expression', 'json'),
PRIMARY KEY (checksum), PRIMARY KEY (checksum),
KEY search_idx (property_name) KEY search_idx (property_name)