[Autoprovision] Changed hostname by alias in database

This commit is contained in:
fermin831 2018-03-13 13:39:30 +01:00
parent 775f2b1a55
commit 9b60d94d59
1 changed files with 2 additions and 2 deletions

View File

@ -3102,9 +3102,9 @@ create table IF NOT EXISTS `tprovisioning_rules`(
`id_provisioning` int unsigned NOT NULL,
`order` int(11) NOT NULL default 0,
`operator` enum('AND','OR') default 'OR',
`type` enum('hostname','ip-range') default 'hostname',
`type` enum('alias','ip-range') default 'alias',
`value` varchar(100) NOT NULL default '',
PRIMARY KEY (`id`),
FOREIGN KEY (`id_provisioning`) REFERENCES tprovisioning(`id`)
ON DELETE CASCADE
) engine=InnoDB DEFAULT CHARSET=utf8;
) engine=InnoDB DEFAULT CHARSET=utf8;