Skip to content

Commit

Permalink
tweak(TB Setup) fix update015 query
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmhh committed Dec 5, 2024
1 parent c35ccce commit ca6f57d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tine20/Tinebase/Setup/Update/17.php
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ public function update015(): void

$backend = Tinebase_Controller_NumberableConfig::getInstance()->getBackend();
$this->_db->query('UPDATE ' . $backend->getTablePrefix() . $backend->getTableName() . ' SET deleted_time = "1970-01-01 00:00:00" WHERE deleted_time IS NULL');
$this->_db->query('DELETE FROM ' . $backend->getTablePrefix() . $backend->getTableName() . ' WHERE model = MeetingManager_Model_Top AND property = "decision_number"');
$this->_db->query('DELETE FROM ' . $backend->getTablePrefix() . $backend->getTableName() . ' WHERE model = "MeetingManager_Model_Top" AND property = "decision_number"');

foreach ($this->_db->query('SELECT id, bucket_key FROM ' . $backend->getTablePrefix() . $backend->getTableName() .
' WHERE model = "MeetingManager_Model_Meeting" AND property = "meeting_number"')->fetchAll(Zend_Db::FETCH_ASSOC) as $row) {
Expand Down

0 comments on commit ca6f57d

Please sign in to comment.