mirror of
https://github.com/appwrite/appwrite
synced 2026-05-22 16:38:32 +00:00
update migrate task
This commit is contained in:
parent
bd1d9834be
commit
e5b3d74515
1 changed files with 1 additions and 2 deletions
|
|
@ -13,7 +13,6 @@ use Utopia\Database\Database;
|
|||
use Utopia\Database\Query;
|
||||
use Utopia\Database\Validator\Authorization;
|
||||
use Utopia\Validator\Text;
|
||||
use Swoole\Event;
|
||||
|
||||
class Migrate extends Action
|
||||
{
|
||||
|
|
@ -105,7 +104,7 @@ class Migrate extends Action
|
|||
Console::log('Migrated ' . $count . '/' . $totalProjects . ' projects...');
|
||||
}
|
||||
|
||||
Event::wait(); // Wait for Coroutines to finish
|
||||
Swoole\Event::wait(); // Wait for Coroutines to finish
|
||||
$redis->flushAll();
|
||||
Console::success('Data Migration Completed');
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue