-
Notifications
You must be signed in to change notification settings - Fork 202
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sync: allow notification, dependency, scheduled dt
- Loading branch information
1 parent
7d7c4de
commit 4fcda46
Showing
5 changed files
with
53 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
ALTER TABLE sync_rule MODIFY object_type enum( | ||
'host', | ||
'service', | ||
'command', | ||
'user', | ||
'hostgroup', | ||
'servicegroup', | ||
'usergroup', | ||
'datalistEntry', | ||
'endpoint', | ||
'zone', | ||
'timePeriod', | ||
'serviceSet', | ||
'scheduledDowntime', | ||
'notification', | ||
'dependency' | ||
) NOT NULL; | ||
|
||
INSERT INTO director_schema_migration | ||
(schema_version, migration_time) | ||
VALUES (166, NOW()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
ALTER TYPE enum_sync_rule_object_type ADD VALUE 'scheduledDowntime'; | ||
ALTER TYPE enum_sync_rule_object_type ADD VALUE 'notification'; | ||
ALTER TYPE enum_sync_rule_object_type ADD VALUE 'dependency'; | ||
|
||
INSERT INTO director_schema_migration | ||
(schema_version, migration_time) | ||
VALUES (166, NOW()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters