diff --git a/modules/aggiornamenti/modutil.php b/modules/aggiornamenti/modutil.php index 2e8512fcf..52543e23a 100644 --- a/modules/aggiornamenti/modutil.php +++ b/modules/aggiornamenti/modutil.php @@ -125,7 +125,7 @@ function customTables() $database = database(); - $results = $database->fetchArray('SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = '.prepare($database->getDatabaseName()).' AND TABLE_NAME NOT IN ('.implode(',', $names).") AND TABLE_NAME != 'updates'"); + $results = $database->fetchArray('SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = '.prepare($database->getDatabaseName()).' AND TABLE_NAME NOT IN ('.implode(',', $names).") AND TABLE_NAME != 'updates'"); return array_column($results, 'TABLE_NAME'); } diff --git a/update/tables.php b/update/tables.php index aefcce0af..4ecdc3731 100644 --- a/update/tables.php +++ b/update/tables.php @@ -32,6 +32,7 @@ return [ 'co_righe_documenti', 'co_righe_preventivi', 'co_ritenutaacconto', + 'co_ritenuta_contributi', 'co_rivalse', 'co_scadenziario', 'co_staticontratti',