* Fix bug for lite upgrade to ipd.
This commit is contained in:
@@ -170,3 +170,4 @@ UPDATE `zt_priv` SET `vision` = ',rnd,or,' WHERE `module` = 'requirement' AND `m
|
||||
|
||||
REPLACE INTO `zt_config` (`vision`, `owner`, `module`, `section`, `key`, `value`) VALUES ('', 'system', 'common', 'global', 'mode', 'PLM');
|
||||
REPLACE INTO `zt_config` (`vision`, `owner`, `module`, `section`, `key`, `value`) VALUES ('', 'system', 'custom', '', 'URAndSR', '1');
|
||||
REPLACE INTO `zt_config` (`vision`, `owner`, `module`, `section`, `key`, `value`) VALUES ('', 'system', 'common', '', 'disabledFeatures', '');
|
||||
|
||||
@@ -7231,7 +7231,7 @@ class upgradeModel extends model
|
||||
$fieldConfig = isset($upgradeConfig[$module][$code]) ? $upgradeConfig[$module][$code] : array();
|
||||
foreach($fieldConfig as $key => $value) $field->$key = $value;
|
||||
|
||||
$this->dao->insert(TABLE_WORKFLOWFIELD)->data($field)->autoCheck()->exec();
|
||||
$this->dao->replace(TABLE_WORKFLOWFIELD)->data($field)->autoCheck()->exec();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user