From 8aeec92087d2815b71901652ff1b3c95ef12295f Mon Sep 17 00:00:00 2001 From: Daniel Hensby Date: Wed, 19 Jul 2017 12:28:15 +0100 Subject: [PATCH] FIX FulltextSearchable DB engine not set correctly --- src/ORM/DataObject.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ORM/DataObject.php b/src/ORM/DataObject.php index 033a77faa..2edd30ebc 100644 --- a/src/ORM/DataObject.php +++ b/src/ORM/DataObject.php @@ -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' ); /**