PMCORE-573

This commit is contained in:
Andrea Adamczyk
2021-08-05 12:55:47 -04:00
parent e8c7b04f5a
commit 0badaaf140
4 changed files with 5 additions and 5 deletions

View File

@@ -73,7 +73,7 @@ class StepTriggerMapBuilder
$tMap->addPrimaryKey('ST_TYPE', 'StType', 'string', CreoleTypes::VARCHAR, true, 20);
$tMap->addColumn('ST_CONDITION', 'StCondition', 'string', CreoleTypes::VARCHAR, true, 255);
$tMap->addColumn('ST_CONDITION', 'StCondition', 'string', CreoleTypes::LONGVARCHAR, true, null);
$tMap->addColumn('ST_POSITION', 'StPosition', 'int', CreoleTypes::INTEGER, true, null);

View File

@@ -55,7 +55,7 @@ abstract class BaseStepTrigger extends BaseObject implements Persistent
* The value for the st_condition field.
* @var string
*/
protected $st_condition = '';
protected $st_condition;
/**
* The value for the st_position field.
@@ -246,7 +246,7 @@ abstract class BaseStepTrigger extends BaseObject implements Persistent
$v = (string) $v;
}
if ($this->st_condition !== $v || $v === '') {
if ($this->st_condition !== $v) {
$this->st_condition = $v;
$this->modifiedColumns[] = StepTriggerPeer::ST_CONDITION;
}