#8365 NCM v3 snipets
This commit is contained in:
parent
d84937e6c9
commit
0a9e127576
|
@ -3,6 +3,9 @@ START TRANSACTION;
|
||||||
ALTER TABLE `tncm_queue`
|
ALTER TABLE `tncm_queue`
|
||||||
ADD COLUMN `id_agent_data` bigint unsigned AFTER `id_script`;
|
ADD COLUMN `id_agent_data` bigint unsigned AFTER `id_script`;
|
||||||
|
|
||||||
|
ALTER TABLE `tncm_queue`
|
||||||
|
ADD COLUMN `snipet` TEXT NULL AFTER `scheduled`;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `tncm_agent_data_template` (
|
CREATE TABLE IF NOT EXISTS `tncm_agent_data_template` (
|
||||||
`id` SERIAL,
|
`id` SERIAL,
|
||||||
`name` TEXT,
|
`name` TEXT,
|
||||||
|
|
|
@ -4270,6 +4270,7 @@ CREATE TABLE IF NOT EXISTS `tncm_queue` (
|
||||||
`id_agent_data` bigint unsigned,
|
`id_agent_data` bigint unsigned,
|
||||||
`utimestamp` INT UNSIGNED NOT NULL,
|
`utimestamp` INT UNSIGNED NOT NULL,
|
||||||
`scheduled` INT UNSIGNED DEFAULT NULL,
|
`scheduled` INT UNSIGNED DEFAULT NULL,
|
||||||
|
`snipet` TEXT NULL,
|
||||||
FOREIGN KEY (`id_agent`) REFERENCES `tagente`(`id_agente`) ON UPDATE CASCADE ON DELETE CASCADE,
|
FOREIGN KEY (`id_agent`) REFERENCES `tagente`(`id_agente`) ON UPDATE CASCADE ON DELETE CASCADE,
|
||||||
FOREIGN KEY (`id_script`) REFERENCES `tncm_script`(`id`) ON UPDATE CASCADE ON DELETE CASCADE
|
FOREIGN KEY (`id_script`) REFERENCES `tncm_script`(`id`) ON UPDATE CASCADE ON DELETE CASCADE
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
|
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
|
||||||
|
|
Loading…
Reference in New Issue