The table "item-delivery-data" does not exist on newer systems
This commit is contained in:
parent
61a2b225bb
commit
dcfde52e7f
2 changed files with 13 additions and 1 deletions
|
@ -348,7 +348,9 @@ function update_1309()
|
|||
|
||||
function update_1315()
|
||||
{
|
||||
DBA::delete('item-delivery-data', ['postopts' => '', 'inform' => '', 'queue_count' => 0, 'queue_done' => 0]);
|
||||
if (DBStructure::existsTable('item-delivery-data')) {
|
||||
DBA::delete('item-delivery-data', ['postopts' => '', 'inform' => '', 'queue_count' => 0, 'queue_done' => 0]);
|
||||
}
|
||||
return Update::SUCCESS;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue