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:
@@ -69,7 +69,7 @@ class PluginsRegistryMapBuilder
|
||||
|
||||
$tMap->addColumn('PLUGIN_NAMESPACE', 'PluginNamespace', 'string', CreoleTypes::VARCHAR, true, 100);
|
||||
|
||||
$tMap->addColumn('PLUGIN_DESCRIPTION', 'PluginDescription', 'string', CreoleTypes::VARCHAR, false, 200);
|
||||
$tMap->addColumn('PLUGIN_DESCRIPTION', 'PluginDescription', 'string', CreoleTypes::LONGVARCHAR, false, null);
|
||||
|
||||
$tMap->addColumn('PLUGIN_CLASS_NAME', 'PluginClassName', 'string', CreoleTypes::VARCHAR, true, 100);
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user