mirror of
https://github.com/OPSnet/Gazelle.git
synced 2026-10-17 13:03:12 -04:00
4 lines
228 B
PHP
4 lines
228 B
PHP
SET @vhid = (SELECT `ID` FROM `tags` WHERE `name` = 'vanity.house');
|
|
|
|
UPDATE torrents_group SET VanityHouse = (SELECT COUNT(*) FROM torrents_tags WHERE torrents_tags.TagID = @vhid AND torrents_tags.GroupID = torrents_group.ID);
|