schema: add var_filter column to field tables

This commit is contained in:
Thomas Gelf 2016-12-07 08:42:45 +01:00
parent 5847913987
commit 4eae20d0c4
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,18 @@
ALTER TABLE icinga_command_field
ADD COLUMN var_filter TEXT DEFAULT NULL;
ALTER TABLE icinga_host_field
ADD COLUMN var_filter TEXT DEFAULT NULL;
ALTER TABLE icinga_notification_field
ADD COLUMN var_filter TEXT DEFAULT NULL;
ALTER TABLE icinga_service_field
ADD COLUMN var_filter TEXT DEFAULT NULL;
ALTER TABLE icinga_user_field
ADD COLUMN var_filter TEXT DEFAULT NULL;
INSERT INTO director_schema_migration
(schema_version, migration_time)
VALUES (124, NOW());

View File

@ -0,0 +1,18 @@
ALTER TABLE icinga_command_field
ADD COLUMN var_filter TEXT DEFAULT NULL;
ALTER TABLE icinga_host_field
ADD COLUMN var_filter TEXT DEFAULT NULL;
ALTER TABLE icinga_notification_field
ADD COLUMN var_filter TEXT DEFAULT NULL;
ALTER TABLE icinga_service_field
ADD COLUMN var_filter TEXT DEFAULT NULL;
ALTER TABLE icinga_user_field
ADD COLUMN var_filter TEXT DEFAULT NULL;
INSERT INTO director_schema_migration
(schema_version, migration_time)
VALUES (123, NOW());