Merge branch 'ent-9391-Cambios-en-el-inventario-remoto' into 'develop'
added change to allow inventory modules to load script from a path See merge request artica/pandorafms!5151
This commit is contained in:
commit
8154ef5533
|
@ -0,0 +1,6 @@
|
|||
START TRANSACTION;
|
||||
|
||||
ALTER TABLE `tmodule_inventory` ADD COLUMN `script_mode` INT NOT NULL DEFAULT 2;
|
||||
ALTER TABLE `tmodule_inventory` ADD COLUMN `script_path` VARCHAR(1000) DEFAULT '';
|
||||
|
||||
COMMIT;
|
|
@ -2656,6 +2656,8 @@ CREATE TABLE IF NOT EXISTS `tmodule_inventory` (
|
|||
`data_format` TEXT ,
|
||||
`code` BLOB NOT NULL,
|
||||
`block_mode` INT NOT NULL DEFAULT 0,
|
||||
`script_mode` INT NOT NULL DEFAULT 1,
|
||||
`script_path` VARCHAR(1000) DEFAULT '',
|
||||
PRIMARY KEY (`id_module_inventory`),
|
||||
FOREIGN KEY (`id_os`) REFERENCES tconfig_os(`id_os`)
|
||||
ON UPDATE CASCADE ON DELETE CASCADE
|
||||
|
|
Loading…
Reference in New Issue