add in the README about creating an INDEX for comments so it doesn't traverse

the whole table for each ban.
This commit is contained in:
Elián Hanisch 2011-11-05 20:34:21 -03:00
parent af95f4d3e0
commit e64b87fe89

View File

@ -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