FIX FulltextSearchable DB engine not set correctly

This commit is contained in:
Daniel Hensby 2017-07-19 12:28:15 +01:00
parent d7095c2213
commit 8aeec92087
No known key found for this signature in database
GPG Key ID: B00D1E9767F0B06E

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'
);
/**