Fix count

This commit is contained in:
Jake Barnby 2025-05-16 22:07:34 +12:00
parent 19d040d43d
commit 8ff4bc0f7b
No known key found for this signature in database
GPG key ID: C437A8CC85B96E9C

View file

@ -4,16 +4,13 @@ namespace Appwrite\Platform\Tasks;
use Appwrite\Migration\Migration;
use Redis;
use Swoole\Runtime;
use Utopia\App;
use Utopia\CLI\Console;
use Utopia\Database\Database;
use Utopia\Database\Document;
use Utopia\Database\Query;
use Utopia\Database\Exception;
use Utopia\Database\Validator\Authorization;
use Utopia\Platform\Action;
use Utopia\Registry\Registry;
use Utopia\System\System;
use Utopia\Validator\Text;
class Migrate extends Action
@ -84,7 +81,7 @@ class Migrate extends Action
throw $th;
}
Console::log('Migrated ' . $count++ . '/' . $total . ' projects...');
Console::log('Migrated ' . ++$count . '/' . $total . ' projects...');
});
Console::success('Migration completed');