mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
Merge branch 'ent-2204-database-changes' into 'develop'
Added the database changes for the custom fields of the remote inventory modules See merge request artica/pandorafms!1550
This commit is contained in:
commit
b72b0afb6d
@ -12,4 +12,6 @@ CREATE TABLE IF NOT EXISTS `tdatabase` (
|
|||||||
PRIMARY KEY (`id`)
|
PRIMARY KEY (`id`)
|
||||||
) ENGINE = InnoDB DEFAULT CHARSET=utf8 ;
|
) ENGINE = InnoDB DEFAULT CHARSET=utf8 ;
|
||||||
|
|
||||||
|
ALTER TABLE `tagent_module_inventory` ADD COLUMN `custom_fields` MEDIUMBLOB NOT NULL;
|
||||||
|
|
||||||
COMMIT;
|
COMMIT;
|
@ -2312,6 +2312,7 @@ CREATE TABLE IF NOT EXISTS `tagent_module_inventory` (
|
|||||||
`utimestamp` bigint(20) default '0',
|
`utimestamp` bigint(20) default '0',
|
||||||
`flag` tinyint(1) unsigned default '1',
|
`flag` tinyint(1) unsigned default '1',
|
||||||
`id_policy_module_inventory` int(10) NOT NULL default '0',
|
`id_policy_module_inventory` int(10) NOT NULL default '0',
|
||||||
|
`custom_fields` MEDIUMBLOB NOT NULL,
|
||||||
PRIMARY KEY (`id_agent_module_inventory`),
|
PRIMARY KEY (`id_agent_module_inventory`),
|
||||||
FOREIGN KEY (`id_agente`) REFERENCES tagente(`id_agente`)
|
FOREIGN KEY (`id_agente`) REFERENCES tagente(`id_agente`)
|
||||||
ON UPDATE CASCADE ON DELETE CASCADE,
|
ON UPDATE CASCADE ON DELETE CASCADE,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user