   dir varchar(200) default NULL,
   created int(14) default NULL,
   path varchar(250) default NULL,
-  PRIMARY KEY  (attId)
+  PRIMARY KEY  (attId),
+  KEY threadId (threadId)
 ) TYPE=MyISAM AUTO_INCREMENT=1 ;
 # --------------------------------------------------------
 

  type varchar(20) default NULL,
  admin varchar(1) default NULL,
  PRIMARY KEY  (permName)
) TYPE=MyISAM;
# --------------------------------------------------------
# 

  params varchar(255) default NULL,
  groups text,
  PRIMARY KEY  (name, position, ord)
  KEY positionType (position, type)
) TYPE=MyISAM;
# --------------------------------------------------------
INSERT INTO tiki_modules (name,position,ord,cache_time,groups) VALUES ('login_box','r',1,0,'a:2:{i:0;s:10:"Registered";i:1;s:9:"Anonymous";}');
