Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/2023.11' into 2024.11
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmhh committed Jan 29, 2024
2 parents 1cc3d34 + 7029515 commit 35328e5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions tine20/Calendar/Setup/Update/16.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ public function update000()

public function update001()
{
// yes, that is the... or at least a... way of doing it
Setup_SchemaTool::updateSchema([
Calendar_Model_Attender::class,
]);
foreach ($this->_backend->getOwnForeignKeys(Calendar_Model_Attender::TABLE_NAME) as $fKey)
{
$this->_backend->dropForeignKey(Calendar_Model_Attender::TABLE_NAME, $fKey['constraint_name']);
}
Setup_SchemaTool::updateSchema([
Tinebase_Model_Container::class,
Calendar_Model_Attender::class,
Expand Down
2 changes: 1 addition & 1 deletion tine20/Setup/Backend/Mysql.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ public function getOwnForeignKeys($tableName)

return $foreignKeyNames;
}

/**
* Get schema of existing table
*
Expand Down

0 comments on commit 35328e5

Please sign in to comment.