mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
update migrate task
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user