1
0
Fork 0
mirror of synced 2024-06-03 11:24:48 +12:00

add better logging

This commit is contained in:
Torsten Dittmann 2021-12-09 16:37:41 +01:00
parent 83e1241db9
commit b2ac3fb5f3

View file

@ -181,7 +181,7 @@ class V11 extends Migration
$sum = \count($all);
Console::log('Migrating Documents: ' . $offset . ' / ' . $this->oldProjectDB->getSum());
Console::log('Migrating Internal Documents: ' . $offset . ' / ' . $this->oldProjectDB->getSum());
foreach ($all as $document) {
if (
@ -214,7 +214,7 @@ class V11 extends Migration
$offset += $this->limit;
$total += $sum;
}
Console::log('Migrated ' . $total . ' Documents.');
Console::log('Migrated ' . $total . ' Internal Documents.');
}
/**