mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
add better logging
This commit is contained in:
parent
83e1241db9
commit
b2ac3fb5f3
1 changed files with 2 additions and 2 deletions
|
|
@ -181,7 +181,7 @@ class V11 extends Migration
|
||||||
|
|
||||||
$sum = \count($all);
|
$sum = \count($all);
|
||||||
|
|
||||||
Console::log('Migrating Documents: ' . $offset . ' / ' . $this->oldProjectDB->getSum());
|
Console::log('Migrating Internal Documents: ' . $offset . ' / ' . $this->oldProjectDB->getSum());
|
||||||
|
|
||||||
foreach ($all as $document) {
|
foreach ($all as $document) {
|
||||||
if (
|
if (
|
||||||
|
|
@ -214,7 +214,7 @@ class V11 extends Migration
|
||||||
$offset += $this->limit;
|
$offset += $this->limit;
|
||||||
$total += $sum;
|
$total += $sum;
|
||||||
}
|
}
|
||||||
Console::log('Migrated ' . $total . ' Documents.');
|
Console::log('Migrated ' . $total . ' Internal Documents.');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue