Fix mysql.sql schema in user_group

This commit is contained in:
Alexander Fuhr 2015-06-08 11:15:36 +02:00
parent 4c1c4e7d2a
commit 46b356f4b8
1 changed files with 1 additions and 0 deletions

View File

@ -562,6 +562,7 @@ CREATE TABLE icinga_usergroup (
object_name VARCHAR(255) NOT NULL,
display_name VARCHAR(255) DEFAULT NULL,
zone_id INT(10) UNSIGNED DEFAULT NULL,
object_type ENUM('object', 'template') NOT NULL,
PRIMARY KEY (id),
UNIQUE INDEX object_name (object_name, zone_id),
KEY search_idx (display_name)