summaryrefslogtreecommitdiffstats
path: root/schema/mysql-migrations/upgrade_166.sql
blob: 92b56f32a109272d732d0a191ce3826957003cb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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());