mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
schema/mysql: do not require sync filter expression
This commit is contained in:
parent
abab695708
commit
1b4cd5adfc
1
schema/mysql-changes/upgrade_28.sql
Normal file
1
schema/mysql-changes/upgrade_28.sql
Normal file
@ -0,0 +1 @@
|
|||||||
|
ALTER TABLE sync_rule MODIFY filter_expression TEXT DEFAULT NULL;
|
@ -901,7 +901,7 @@ CREATE TABLE sync_rule (
|
|||||||
object_type ENUM('host', 'user') NOT NULL,
|
object_type ENUM('host', 'user') NOT NULL,
|
||||||
update_policy ENUM('merge', 'override', 'ignore') NOT NULL,
|
update_policy ENUM('merge', 'override', 'ignore') NOT NULL,
|
||||||
purge_existing ENUM('y', 'n') NOT NULL DEFAULT 'n',
|
purge_existing ENUM('y', 'n') NOT NULL DEFAULT 'n',
|
||||||
filter_expression TEXT NOT NULL,
|
filter_expression TEXT DEFAULT NULL,
|
||||||
PRIMARY KEY (id)
|
PRIMARY KEY (id)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user