Skip to content

Commit

Permalink
Merge branch '2023.11' into 2024.11
Browse files Browse the repository at this point in the history
  • Loading branch information
gitlabci committed Jan 30, 2024
2 parents 90ffa1b + 2c07627 commit b3c9613
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tine20/Tinebase/Setup/Update/15.php
Original file line number Diff line number Diff line change
Expand Up @@ -853,15 +853,17 @@ public function update029()
public function update030()
{
Tinebase_TransactionManager::getInstance()->rollBack();
if ($this->getTableVersion('accounts') < 19) {
if (! $this->_backend->columnExists('type', 'accounts')) {
$this->_backend->addCol('accounts', new Setup_Backend_Schema_Field_Xml('
<field>
<name>type</name>
<type>text</type>
<length>64</length>
<notnull>false</notnull>
</field>'));
$this->setTableVersion('accounts', 19);
if ($this->getTableVersion('accounts') < 19) {
$this->setTableVersion('accounts', 19);
}
}
$this->addApplicationUpdate(Tinebase_Config::APP_NAME, '15.30', self::RELEASE015_UPDATE030);
}
Expand Down

0 comments on commit b3c9613

Please sign in to comment.