Rename preid to predb_id in releases table and in classes and scripts.

This commit is contained in:
DariusIII
2016-05-10 09:17:59 +02:00
parent bdfa790e64
commit 90b134761f
26 changed files with 108 additions and 92 deletions
@@ -40,7 +40,7 @@ datelimit = "AND DATEDIFF(NOW(), r.adddate) <= 7"
groupby = "GROUP BY guidchar"
orderby = "ORDER BY guidchar ASC"
rowlimit = "LIMIT 16"
extrawhere = "AND r.preid = 0 AND r.nzbstatus = 1"
extrawhere = "AND r.predb_id = 0 AND r.nzbstatus = 1"
select = "DISTINCT LEFT(r.guid, 1) AS guidchar, COUNT(*) AS count"
cur[0].execute("SELECT value FROM settings WHERE setting = 'fixnamethreads'")