1
0

Add check-db to egg and save parents as json-objects

This commit is contained in:
2022-10-20 14:56:27 +02:00
parent 16051928c1
commit 805627be17
12 changed files with 234 additions and 16 deletions

View File

@@ -34,11 +34,25 @@ if (!$r1)
}
echo "\n";
echo "============================= Start Update-Cache =============================\n";
echo "============================= Check Consistency =============================\n";
echo "\n";
$r2 = $egg->updateCache();
if (!$r2)
$r2 = $egg->checkDatabaseConsistency();
if (count($r2) > 0)
{
echo "EGG::updateCache failed.";
foreach ($r2 as $msg) {
echo " > $msg";
}
exit(99);
}
echo "\n";
echo "============================= Update Cache =============================\n";
echo "\n";
$r3 = $egg->updateCache();
if (!$r3)
{
echo "EGG::updateCache failed.";
exit(99);