Fix: Remove legacy unused tags cleanup (#3651)

pull/3652/head
Nelson Chan 1 year ago committed by GitHub
parent 5f85d8f749
commit db42c13e05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1116,9 +1116,6 @@ let needSetup = false;
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({
ok: true,
msg: "Deleted Successfully.",

Loading…
Cancel
Save