Merge pull request #88 from richardkiss/master

Big speed-up in magneticow when clicking through to file list.
This commit is contained in:
Bora M. Alper 2017-06-05 12:37:18 +03:00 committed by GitHub
commit 2c9de4691d

View File

@ -57,6 +57,7 @@ class Database:
"size INTEGER NOT NULL,"
"path TEXT NOT NULL"
");")
db_conn.execute("CREATE INDEX IF NOT EXISTS file_info_hash_index on files (torrent_id);")
return db_conn