From db.sql in the Tombot 1.1 release:
#
# Table structure for table `patterns`
#
CREATE TABLE patterns (
bot tinyint(3) unsigned NOT NULL default '0',
id int(11) NOT NULL auto_increment,
word varchar(255) default NULL,
ordera tinyint(4) NOT NULL default '0',
parent int(11) NOT NULL default '0',
isend tinyint(4) NOT NULL default '0',
PRIMARY KEY (id),
KEY wordparent (parent,word),
KEY botid (bot)
) TYPE=MyISAM;
Please verify that you have run that query, if not, add the missing columns.
|