schema/mysql: allow for larger files

16MB vs 16KB
This commit is contained in:
Thomas Gelf 2015-07-24 11:23:21 +02:00
parent 753d9420c3
commit 8715006f7e
2 changed files with 3 additions and 1 deletions

View File

@ -0,0 +1,2 @@
ALTER TABLE director_generated_file MODIFY content MEDIUMTEXT DEFAULT NULL;

View File

@ -51,7 +51,7 @@ CREATE TABLE director_generated_config (
CREATE TABLE director_generated_file (
checksum VARBINARY(20) NOT NULL COMMENT 'SHA1(content)',
content TEXT NOT NULL,
content MEDIUMTEXT NOT NULL,
PRIMARY KEY (checksum)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;