// this will perform the database changes
CreationParameters cp = new CreationParameters();
// to search, it requires MyISAM
cp.addParameter(database.findTable("discoveries_search"), "ENGINE", "MyISAM");
cp.addParameter(database.findTable("discoveries_search2"), "ENGINE", "MyISAM");
platform.alterTables(connection, database, cp, true);
connection.close();