[Database version 1500] Remove obsolete table fcontact

This commit is contained in:
Hypolite Petovan 2022-11-10 20:42:47 -05:00
parent ce69026964
commit 818cdf83ca
10 changed files with 16 additions and 326 deletions

View file

@ -899,6 +899,11 @@ class PostUpdate
return true;
}
if (!DBStructure::existsTable('fcontact')) {
DI::config()->set('system', 'post_update_version', 1425);
return true;
}
$condition = ["`uri-id` IS NULL"];
Logger::info('Start', ['rest' => DBA::count('fcontact', $condition)]);