Added force apply in policies

This commit is contained in:
Daniel Maya 2020-02-05 12:49:52 +01:00
parent 9617d08df7
commit be47ed178b
3 changed files with 10 additions and 2 deletions

View File

@ -0,0 +1,5 @@
START TRANSACTION;
ALTER TABLE `tpolicies` ADD COLUMN `force_apply` tinyint(1) default 0;
COMMIT;

View File

@ -160,6 +160,8 @@ CREATE TABLE IF NOT EXISTS `tpolicies` (
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
ALTER TABLE `tpolicies` ADD COLUMN `force_apply` tinyint(1) default 0;
-- -----------------------------------------------------
-- Table `tpolicy_alerts`
-- -----------------------------------------------------

View File

@ -2375,8 +2375,9 @@ CREATE TABLE IF NOT EXISTS `tpolicies` (
`id` int(10) unsigned NOT NULL auto_increment,
`name` text NOT NULL default '',
`description` varchar(255) NOT NULL default '',
`id_group` int(10) unsigned default '0',
`status` int(10) unsigned NOT NULL default 0,
`id_group` int(10) unsigned default '0',
`status` int(10) unsigned NOT NULL default 0,
`force_apply` tinyint(1) default 0,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;