diff --git a/tine20/Sales/Setup/Update/17.php b/tine20/Sales/Setup/Update/17.php index 965e0ed907..01c786abe6 100644 --- a/tine20/Sales/Setup/Update/17.php +++ b/tine20/Sales/Setup/Update/17.php @@ -35,6 +35,7 @@ class Sales_Setup_Update_17 extends Setup_Update_Abstract const RELEASE017_UPDATE015 = __CLASS__ . '::update015'; const RELEASE017_UPDATE016 = __CLASS__ . '::update016'; const RELEASE017_UPDATE017 = __CLASS__ . '::update017'; + const RELEASE017_UPDATE018 = __CLASS__ . '::update018'; static protected $_allUpdates = [ self::PRIO_TINEBASE_BEFORE_STRUCT => [ @@ -100,6 +101,10 @@ class Sales_Setup_Update_17 extends Setup_Update_Abstract self::CLASS_CONST => self::class, self::FUNCTION_CONST => 'update017', ], + self::RELEASE017_UPDATE018 => [ + self::CLASS_CONST => self::class, + self::FUNCTION_CONST => 'update018', + ], ], self::PRIO_NORMAL_APP_UPDATE => [ self::RELEASE017_UPDATE000 => [ @@ -562,4 +567,16 @@ public function update017() $this->addApplicationUpdate(Sales_Config::APP_NAME, '17.17', self::RELEASE017_UPDATE017); } + + public function update018() + { + Tinebase_TransactionManager::getInstance()->rollBack(); + + Setup_SchemaTool::updateSchema([ + Sales_Model_Boilerplate::class, + Sales_Model_Document_Boilerplate::class, + ]); + + $this->addApplicationUpdate(Sales_Config::APP_NAME, '17.18', self::RELEASE017_UPDATE018); + } } diff --git a/tine20/Sales/Setup/setup.xml b/tine20/Sales/Setup/setup.xml index 590647f040..469f32bf7c 100644 --- a/tine20/Sales/Setup/setup.xml +++ b/tine20/Sales/Setup/setup.xml @@ -1,7 +1,7 @@ Sales - 17.17 + 17.18 50 enabled