added change to allow inventory modules to load script from a path
This commit is contained in:
parent
b7bef2dd58
commit
7e85bea0f4
|
@ -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;
|
|
@ -2651,6 +2651,8 @@ CREATE TABLE IF NOT EXISTS `tmodule_inventory` (
|
||||||
`data_format` TEXT ,
|
`data_format` TEXT ,
|
||||||
`code` BLOB NOT NULL,
|
`code` BLOB NOT NULL,
|
||||||
`block_mode` INT NOT NULL DEFAULT 0,
|
`block_mode` INT NOT NULL DEFAULT 0,
|
||||||
|
`script_mode` INT NOT NULL DEFAULT 1,
|
||||||
|
`script_path` VARCHAR(1000) DEFAULT '',
|
||||||
PRIMARY KEY (`id_module_inventory`),
|
PRIMARY KEY (`id_module_inventory`),
|
||||||
FOREIGN KEY (`id_os`) REFERENCES tconfig_os(`id_os`)
|
FOREIGN KEY (`id_os`) REFERENCES tconfig_os(`id_os`)
|
||||||
ON UPDATE CASCADE ON DELETE CASCADE
|
ON UPDATE CASCADE ON DELETE CASCADE
|
||||||
|
|
Loading…
Reference in New Issue