CREATE TABLE IF NOT EXISTS `prefix_search_documents` (
  `id` int(11) NOT NULL auto_increment,
  `doctype` varchar(12) NOT NULL default 'none',
  `title` varchar(100) NOT NULL default '',
  `url` varchar(100) NOT NULL default '',
  `updated` timestamp NOT NULL default CURRENT_TIMESTAMP,
  `courseid` int(11) NOT NULL default '0',
  `groupid` int(11) NOT NULL default '0',
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=1;