We changed the database engine on the server. Now whenever new tables being created, the EspoCRM interface are being created using another engine type.
I've found the following code at application/Espo/Core/Utils/Database/DBAL/Platforms/MySqlPlatform.php:
protected function _getCreateTableSQL($tableName, array $columns, array $options = array())
{
if (!isset($options['engine'])) {
$options['engine'] = 'MyISAM';
}
return parent::_getCreateTableSQL($tableName, $columns, $options);
}
This is great. However, I can't find any place to set the $options['engine']
Where do we find the config file to set the default $options['engine']?
I've found the following code at application/Espo/Core/Utils/Database/DBAL/Platforms/MySqlPlatform.php:
protected function _getCreateTableSQL($tableName, array $columns, array $options = array())
{
if (!isset($options['engine'])) {
$options['engine'] = 'MyISAM';
}
return parent::_getCreateTableSQL($tableName, $columns, $options);
}
This is great. However, I can't find any place to set the $options['engine']
Where do we find the config file to set the default $options['engine']?
Comment