/** * Allows for hooking in to modify the table of the snippet class for the search engine */ public static function requireTable() { //Add fulltext searchable extension Snippet::add_extension("FulltextSearchable('Title,Description,Tags')"); //Change to MyISAM for the engine for snippet tables Config::inst()->update('Snippet', 'create_table_options', array('MySQLDatabase' => 'ENGINE=MyISAM')); }