schema/mysql: introduce the director_setting table

This commit is contained in:
Thomas Gelf 2016-02-09 19:37:23 +01:00
parent ad39da9a13
commit b551651f7e
2 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,10 @@
CREATE TABLE director_setting (
setting_name VARCHAR(64) NOT NULL,
setting_value VARCHAR(255) NOT NULL,
PRIMARY KEY(setting_name)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
INSERT INTO director_schema_migration
SET migration_time = NOW(),
schema_version = 64;

View File

@ -151,6 +151,12 @@ CREATE TABLE director_schema_migration (
PRIMARY KEY(schema_version)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE director_setting (
setting_name VARCHAR(64) NOT NULL,
setting_value VARCHAR(255) NOT NULL,
PRIMARY KEY(setting_name)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE icinga_zone (
id INT(10) UNSIGNED AUTO_INCREMENT NOT NULL,
parent_id INT(10) UNSIGNED DEFAULT NULL,
@ -1027,5 +1033,5 @@ CREATE TABLE import_row_modifier_setting (
INSERT INTO director_schema_migration
SET migration_time = NOW(),
schema_version = 63;
schema_version = 64;