schema/mysql-migrations: fix columns
This commit is contained in:
parent
c72b51c538
commit
fa2af0ab9f
|
@ -2,10 +2,14 @@ CREATE TABLE icinga_scheduled_downtime (
|
|||
id INT(10) UNSIGNED AUTO_INCREMENT NOT NULL,
|
||||
object_name VARCHAR(255) NOT NULL,
|
||||
display_name VARCHAR(255) DEFAULT NULL,
|
||||
update_method VARCHAR(64) DEFAULT NULL,
|
||||
zone_id INT(10) UNSIGNED DEFAULT NULL,
|
||||
object_type ENUM('object', 'template', 'apply_') NOT NULL,
|
||||
object_type ENUM('object', 'template', 'apply') NOT NULL,
|
||||
disabled ENUM('y', 'n') NOT NULL DEFAULT 'n',
|
||||
assign_filter TEXT DEFAULT NULL,
|
||||
author VARCHAR(255) DEFAULT NULL,
|
||||
comment TEXT DEFAULT NULL,
|
||||
fixed ENUM('y', 'n') DEFAULT NULL,
|
||||
duration INT(10) UNSIGNED DEFAULT NULL,
|
||||
PRIMARY KEY (id),
|
||||
UNIQUE INDEX object_name (object_name),
|
||||
CONSTRAINT icinga_scheduled_downtime_zone
|
||||
|
|
Loading…
Reference in New Issue