#9771 fixed create table database

This commit is contained in:
Daniel Cebrian 2023-06-14 12:06:20 +02:00
parent 363f29d333
commit d52e31e94c

View File

@ -4362,4 +4362,5 @@ CREATE TABLE IF NOT EXISTS `tdiscovery_apps_tasks_macros` (
`value` text NOT NULL DEFAULT '',
`temp_conf` tinyint unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`id_task`, `macro`),
FOREIGN KEY (`id_task`) REFERENCES trecon_task(`id_rt`) ON DELETE CASCADE ON UPDATE CASCADE
FOREIGN KEY (`id_task`) REFERENCES trecon_task(`id_rt`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;