HOR-4012 Verify type columns in table PLUGINS_REGISTRY

- change type field to mediumtext
- set table collation utf8_general_ci
This commit is contained in:
Marco Antonio Nina Mena
2017-10-30 13:10:37 -04:00
parent 36a7accad4
commit d2a7e59718
4 changed files with 27 additions and 5 deletions

View File

@@ -43,7 +43,7 @@ abstract class BasePluginsRegistry extends BaseObject implements Persistent
* The value for the plugin_description field.
* @var string
*/
protected $plugin_description = '';
protected $plugin_description;
/**
* The value for the plugin_class_name field.
@@ -508,7 +508,7 @@ abstract class BasePluginsRegistry extends BaseObject implements Persistent
$v = (string) $v;
}
if ($this->plugin_description !== $v || $v === '') {
if ($this->plugin_description !== $v) {
$this->plugin_description = $v;
$this->modifiedColumns[] = PluginsRegistryPeer::PLUGIN_DESCRIPTION;
}