исправления

This commit is contained in:
Alexey Kasyanchuk
2017-01-08 23:54:23 +03:00
parent 0b944f9cea
commit 1bffb33b70
2 changed files with 3 additions and 2 deletions

View File

@ -52,11 +52,12 @@ source torrents_index
sql_port = 3306 # optional, default is 3306
sql_query = \
SELECT torrents.hash as hash, torrents.name as name, torrents.size as size, \
SELECT torrents.torrentid, torrents.hash as hash, torrents.name as name, torrents.size as size, \
torrents.seeders, torrents.leechers, torrents.completed, \
torrents.files, torrents.contentType, torrents.contentCategory \
FROM torrents
sql_attr_string = hash
sql_field_string = name
sql_attr_bigint = size
sql_attr_uint = files