schema: allow for virtual config files > 16MB

fixes #1787
This commit is contained in:
Thomas Gelf 2019-02-26 16:30:22 +01:00
parent 85943f69a0
commit f9321ec7b3
3 changed files with 11 additions and 2 deletions

View File

@ -18,6 +18,9 @@ before switching to a new version.
### CLI
* FEATURE: Service Groups are now available on CLI (#1745)
### Icinga Configuration
* FIX: Allow to render single configuration files larger than 16MB (#1787)
1.6.2
-----
### Fixed issues

View File

@ -0,0 +1,6 @@
ALTER TABLE director_generated_file
MODIFY COLUMN content LONGTEXT NOT NULL;
INSERT INTO director_schema_migration
(schema_version, migration_time)
VALUES (159, NOW());

View File

@ -84,7 +84,7 @@ CREATE TABLE director_generated_config (
CREATE TABLE director_generated_file (
checksum VARBINARY(20) NOT NULL COMMENT 'SHA1(content)',
content MEDIUMTEXT NOT NULL,
content LONGTEXT NOT NULL,
cnt_object INT(10) UNSIGNED NOT NULL DEFAULT 0,
cnt_template INT(10) UNSIGNED NOT NULL DEFAULT 0,
cnt_apply INT(10) UNSIGNED NOT NULL DEFAULT 0,
@ -1787,4 +1787,4 @@ CREATE TABLE icinga_timeperiod_exclude (
INSERT INTO director_schema_migration
(schema_version, migration_time)
VALUES (157, NOW());
VALUES (159, NOW());