Fix indexes in database.
Fix indexes in database.

StollD/irclogger,StollD/irclogger,StollD/irclogger,whitequark/irclogger,StollD/irclogger,whitequark/irclogger,whitequark/irclogger,whitequark/irclogger