From e64b87fe89dfcff51fed11e4310294f561baff58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eli=C3=A1n=20Hanisch?= Date: Sat, 5 Nov 2011 20:34:21 -0300 Subject: [PATCH] add in the README about creating an INDEX for comments so it doesn't traverse the whole table for each ban. --- Bantracker/README.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Bantracker/README.txt b/Bantracker/README.txt index 689bc28..c663ae8 100644 --- a/Bantracker/README.txt +++ b/Bantracker/README.txt @@ -32,6 +32,7 @@ CREATE TABLE sessions ( user MEDIUMTEXT NOT NULL, time INT NOT NULL ); +CREATE INDEX comments_ban_id ON comments(ban_id); To configure the plugin, create the SQLite2 database with above structure and set supybot.plugins.bantracker.database to its filename. Then enable it, either