Merge pull request #7782 from appwrite/fix-migration-users-attribute-not-found
Fix Attribute not found when migrating users collection
This commit is contained in:
commit
33b4ee5c0f
|
@ -127,7 +127,11 @@ class V20 extends Migration
|
|||
}
|
||||
}
|
||||
|
||||
$this->projectDB->updateAttribute($id, $attribute['$id'], $attribute['type']);
|
||||
try {
|
||||
$this->projectDB->updateAttribute($id, $attribute['$id'], $attribute['type']);
|
||||
} catch (Throwable $th) {
|
||||
Console::warning("'{$attribute['$id']}' from {$id}: {$th->getMessage()}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue