ALTER TABLE `$db_forum_posts` ADD `fp_index` TEXT NOT NULL;
ALTER TABLE `$db_forum_posts` ADD FULLTEXT (`fp_index`);

ALTER TABLE `$db_forum_topics` ADD `ft_index` TEXT NOT NULL;
ALTER TABLE `$db_forum_topics` ADD FULLTEXT (`ft_index`);

ALTER TABLE `$db_pages` ADD `page_index` TEXT NOT NULL;
ALTER TABLE `$db_pages` ADD `title_index` TEXT NOT NULL;
ALTER TABLE `$db_pages` ADD FULLTEXT (`page_index`);
ALTER TABLE `$db_pages` ADD FULLTEXT (`title_index`);
						
INSERT INTO $db_config (config_owner, config_cat, config_order, config_name, config_type, config_value, config_default, config_text) VALUES ('xxsearch', 'xxsearch', '1', 'xfulltext', '1', '1', '1', 'xxsearch');