remove any agent belonging to a non-existent group
This commit is contained in:
parent
85f5ec5fdd
commit
2a964b52f1
|
@ -13,4 +13,6 @@ UPDATE `tuser_task_scheduled` SET
|
|||
|
||||
ALTER TABLE `tlayout` ADD COLUMN `auto_adjust` INTEGER UNSIGNED NOT NULL default 0;
|
||||
|
||||
DELETE ta FROM `tagente` ta LEFT JOIN `tgrupo` tg on ta.`id_grupo` = tg.`id_grupo` WHERE tg.`id_grupo` IS NULL;
|
||||
|
||||
COMMIT;
|
||||
|
|
Loading…
Reference in New Issue