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:
parent
e3907c50c9
commit
ada4777a57
@ -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}");
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user