Skip to content

Commit

Permalink
FIX FulltextSearchable DB engine not set correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
dhensby committed Jul 19, 2017
1 parent d7095c2 commit 8aeec92
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ORM/DataObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
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;
Expand Down Expand Up @@ -3438,7 +3439,7 @@ public static function enable_subclass_access()
* @config
*/
private static $create_table_options = array(
'SilverStripe\ORM\Connect\MySQLDatabase' => 'ENGINE=InnoDB'
MySQLSchemaManager::ID => 'ENGINE=InnoDB'
);

/**
Expand Down

0 comments on commit 8aeec92

Please sign in to comment.