Fix: Remove legacy unused tags cleanup (#3651)
This commit is contained in:
parent
5f85d8f749
commit
db42c13e05
|
@ -1116,9 +1116,6 @@ let needSetup = false;
|
||||||
value,
|
value,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
// Cleanup unused Tags
|
|
||||||
await R.exec("delete from tag where ( select count(*) from monitor_tag mt where tag.id = mt.tag_id ) = 0");
|
|
||||||
|
|
||||||
callback({
|
callback({
|
||||||
ok: true,
|
ok: true,
|
||||||
msg: "Deleted Successfully.",
|
msg: "Deleted Successfully.",
|
||||||
|
|
Loading…
Reference in New Issue