mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-13 19:06:27 +00: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);
|