mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 15:54:29 +02:00
Merge branch 'ent-7999-12427-introduccion-index-en-servicios' into 'develop'
Added index to service elements (modules) See merge request artica/pandorafms!4621
This commit is contained in:
commit
c84a9a1634
@ -1,5 +1,5 @@
|
|||||||
START TRANSACTION;
|
START TRANSACTION;
|
||||||
ALTER TABLE `tpolicy_queue` MODIFY COLUMN `progress` int(10) NOT NULL default '0';
|
ALTER TABLE `tpolicy_queue` MODIFY COLUMN `progress` int(10) NOT NULL default '0';
|
||||||
|
CREATE INDEX `IDX_tservice_element` ON `tservice_element`(`id_service`,`id_agente_modulo`);
|
||||||
|
|
||||||
COMMIT;
|
COMMIT;
|
@ -480,7 +480,8 @@ CREATE TABLE IF NOT EXISTS `tservice_element` (
|
|||||||
`id_agent` int(10) unsigned NOT NULL default 0,
|
`id_agent` int(10) unsigned NOT NULL default 0,
|
||||||
`id_service_child` int(10) unsigned NOT NULL default 0,
|
`id_service_child` int(10) unsigned NOT NULL default 0,
|
||||||
`id_server_meta` int(10) unsigned NOT NULL default 0,
|
`id_server_meta` int(10) unsigned NOT NULL default 0,
|
||||||
PRIMARY KEY (`id`)
|
PRIMARY KEY (`id`),
|
||||||
|
INDEX `IDX_tservice_element` (`id_service`,`id_agente_modulo`)
|
||||||
) ENGINE=InnoDB
|
) ENGINE=InnoDB
|
||||||
COMMENT = 'Table to define the modules and the weights of the modules that define a service'
|
COMMENT = 'Table to define the modules and the weights of the modules that define a service'
|
||||||
DEFAULT CHARSET=utf8;
|
DEFAULT CHARSET=utf8;
|
||||||
|
@ -2856,7 +2856,8 @@ CREATE TABLE IF NOT EXISTS `tservice_element` (
|
|||||||
`id_service_child` int(10) unsigned NOT NULL default 0,
|
`id_service_child` int(10) unsigned NOT NULL default 0,
|
||||||
`id_server_meta` int(10) unsigned NOT NULL default 0,
|
`id_server_meta` int(10) unsigned NOT NULL default 0,
|
||||||
`rules` text,
|
`rules` text,
|
||||||
PRIMARY KEY (`id`)
|
PRIMARY KEY (`id`),
|
||||||
|
INDEX `IDX_tservice_element` (`id_service`,`id_agente_modulo`)
|
||||||
) ENGINE=InnoDB
|
) ENGINE=InnoDB
|
||||||
COMMENT = 'Table to define the modules and the weights of the modules that define a service'
|
COMMENT = 'Table to define the modules and the weights of the modules that define a service'
|
||||||
DEFAULT CHARSET=utf8;
|
DEFAULT CHARSET=utf8;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user