Merge pull request #7188 from dhensby/pulls/4/fix-full-text-search-table-option

FIX FulltextSearchable  DB engine not set correctly
This commit is contained in:
Damian Mooyman 2017-07-20 12:27:30 +12:00 committed by GitHub
commit e77c7fe04c

View File

@ -14,6 +14,7 @@ use SilverStripe\Forms\FormField;
use SilverStripe\Forms\FormScaffolder;
use SilverStripe\i18n\i18n;
use SilverStripe\i18n\i18nEntityProvider;
use SilverStripe\ORM\Connect\MySQLSchemaManager;
use SilverStripe\ORM\Filters\SearchFilter;
use SilverStripe\ORM\Search\SearchContext;
use SilverStripe\ORM\Queries\SQLInsert;
@ -3438,7 +3439,7 @@ class DataObject extends ViewableData implements DataObjectInterface, i18nEntity
* @config
*/
private static $create_table_options = array(
'SilverStripe\ORM\Connect\MySQLDatabase' => 'ENGINE=InnoDB'
MySQLSchemaManager::ID => 'ENGINE=InnoDB'
);
/**