Skip to content

Commit

Permalink
tweak(Sales) migration set boilerplate category to null
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmhh committed Jan 11, 2024
1 parent 787637f commit 1c4765c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tine20/Sales/Setup/Update/17.php
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,9 @@ public function update010()
. SQL_TABLE_PREFIX . Sales_Model_Document_Debitor::TABLE_NAME . ' AS d '
. 'ON a.' . Sales_Model_Document_Address::FLD_DOCUMENT_ID . ' = d.' . Sales_Model_Document_Debitor::FLD_DOCUMENT_ID
. ' SET a.' . Sales_Model_Document_Address::FLD_DEBITOR_ID . ' = d.id');

$this->_db->query('UPDATE ' . SQL_TABLE_PREFIX . Sales_Model_Boilerplate::TABLE_NAME . ' SET '
. Sales_Model_Boilerplate::FLD_DOCUMENT_CATEGORY . ' = NULL');

$this->addApplicationUpdate(Sales_Config::APP_NAME, '17.10', self::RELEASE017_UPDATE010);
}
Expand Down

0 comments on commit 1c4765c

Please sign in to comment.