mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 00:49:02 +00:00
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
1 changed files with 5 additions and 1 deletions
|
|
@ -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