minor change

This commit is contained in:
alejandro.campos@artica.es 2022-09-23 09:58:37 +02:00
parent 3bf2dd1b5c
commit 8918682f67
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
START TRANSACTION;
ALTER TABLE `tpolicies` ADD COLUMN `apply_to_secondary_groups` TINYINT DEFAULT 0;
ALTER TABLE `tpolicies` ADD COLUMN `apply_to_secondary_groups` TINYINT NOT NULL DEFAULT 0;
COMMIT;

View File

@ -2511,7 +2511,7 @@ CREATE TABLE IF NOT EXISTS `tpolicies` (
`id_group` INT UNSIGNED DEFAULT 0,
`status` INT UNSIGNED NOT NULL DEFAULT 0,
`force_apply` TINYINT DEFAULT 0,
`apply_to_secondary_groups` TINYINT DEFAULT 0,
`apply_to_secondary_groups` TINYINT NOT NULL DEFAULT 0,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;