mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +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 Appwrite\Migration\Migration;
|
||||||
use Redis;
|
use Redis;
|
||||||
use Swoole\Runtime;
|
|
||||||
use Utopia\App;
|
|
||||||
use Utopia\CLI\Console;
|
use Utopia\CLI\Console;
|
||||||
use Utopia\Database\Database;
|
use Utopia\Database\Database;
|
||||||
use Utopia\Database\Document;
|
use Utopia\Database\Document;
|
||||||
use Utopia\Database\Query;
|
use Utopia\Database\Exception;
|
||||||
use Utopia\Database\Validator\Authorization;
|
use Utopia\Database\Validator\Authorization;
|
||||||
use Utopia\Platform\Action;
|
use Utopia\Platform\Action;
|
||||||
use Utopia\Registry\Registry;
|
use Utopia\Registry\Registry;
|
||||||
use Utopia\System\System;
|
|
||||||
use Utopia\Validator\Text;
|
use Utopia\Validator\Text;
|
||||||
|
|
||||||
class Migrate extends Action
|
class Migrate extends Action
|
||||||
|
|
@ -84,7 +81,7 @@ class Migrate extends Action
|
||||||
throw $th;
|
throw $th;
|
||||||
}
|
}
|
||||||
|
|
||||||
Console::log('Migrated ' . $count++ . '/' . $total . ' projects...');
|
Console::log('Migrated ' . ++$count . '/' . $total . ' projects...');
|
||||||
});
|
});
|
||||||
|
|
||||||
Console::success('Migration completed');
|
Console::success('Migration completed');
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue