mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 17:24:18 +02:00
schema/mysql: allow to apply notifications
This commit is contained in:
parent
f10ee539c8
commit
ad8469a34c
6
schema/mysql-migrations/upgrade_87.sql
Normal file
6
schema/mysql-migrations/upgrade_87.sql
Normal file
@ -0,0 +1,6 @@
|
||||
ALTER TABLE icinga_notification
|
||||
MODIFY COLUMN object_type ENUM('object', 'template', 'apply') NOT NULL;
|
||||
|
||||
INSERT INTO director_schema_migration
|
||||
SET migration_time = NOW(),
|
||||
schema_version = 87;
|
@ -916,7 +916,7 @@ CREATE TABLE icinga_usergroup_parent (
|
||||
CREATE TABLE icinga_notification (
|
||||
id INT(10) UNSIGNED AUTO_INCREMENT NOT NULL,
|
||||
object_name VARCHAR(255) DEFAULT NULL,
|
||||
object_type ENUM('object', 'template') NOT NULL,
|
||||
object_type ENUM('object', 'template', 'apply') NOT NULL,
|
||||
disabled ENUM('y', 'n') NOT NULL DEFAULT 'n',
|
||||
host_id INT(10) UNSIGNED DEFAULT NULL,
|
||||
service_id INT(10) UNSIGNED DEFAULT NULL,
|
||||
@ -1257,4 +1257,4 @@ CREATE TABLE sync_run (
|
||||
|
||||
INSERT INTO director_schema_migration
|
||||
SET migration_time = NOW(),
|
||||
schema_version = 86;
|
||||
schema_version = 87;
|
||||
|
Loading…
x
Reference in New Issue
Block a user