1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-12 22:22:32 +01:00

Check DB script

This commit is contained in:
David Bomba 2021-06-09 14:37:02 +10:00
parent e3907c50c9
commit ada4777a57

View File

@ -135,10 +135,8 @@ class CheckDb extends Command
$diff = $count_db_1 - $count_db_2;
$this->logMessage("{$entity} DB1: {$count_db_1} - DB2: {$count_db_2} - diff = {$diff}");
if($diff != 0)
$this->logMessage("{$entity} out of sync!!!!!");
$this->logMessage("{$entity} DB1: {$count_db_1} - DB2: {$count_db_2} - diff = {$diff}");
}
@ -152,10 +150,8 @@ class CheckDb extends Command
$diff = $count_db_1 - $count_db_2;
$this->logMessage("{$entity} DB1: {$count_db_1} - DB2: {$count_db_2} - diff = {$diff}");
if($diff != 0)
$this->logMessage("{$entity} out of sync!!!!!");
$this->logMessage("{$entity} DB1: {$count_db_1} - DB2: {$count_db_2} - diff = {$diff}");
}
}