mirror of
https://github.com/appwrite/appwrite
synced 2026-05-15 21:19:19 +00:00
Fix count
This commit is contained in:
parent
19d040d43d
commit
8ff4bc0f7b
1 changed files with 2 additions and 5 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Reference in a new issue