From 8332bf566e034bc76ebde16e73389075bf5843ac Mon Sep 17 00:00:00 2001 From: Luca Date: Sat, 9 Feb 2019 12:34:32 +0100 Subject: [PATCH] Aggiunta tabella co_ritenuta_contributi --- modules/aggiornamenti/modutil.php | 2 +- update/tables.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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',