Merge pull request #5532 from appwrite/migration-attribute
migration bucketInternalId
This commit is contained in:
commit
3a2134f4e1
1 changed files with 12 additions and 0 deletions
|
@ -81,6 +81,18 @@ class V17 extends Migration
|
||||||
Console::warning("'mimeType' from {$id}: {$th->getMessage()}");
|
Console::warning("'mimeType' from {$id}: {$th->getMessage()}");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
try {
|
||||||
|
/**
|
||||||
|
* Create 'bucketInternalId' attribute
|
||||||
|
*/
|
||||||
|
$this->createAttributeFromCollection($this->projectDB, $id, 'bucketInternalId');
|
||||||
|
$this->projectDB->deleteCachedCollection($id);
|
||||||
|
} catch (\Throwable $th) {
|
||||||
|
Console::warning("'deploymentInternalId' from {$id}: {$th->getMessage()}");
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'builds':
|
||||||
try {
|
try {
|
||||||
/**
|
/**
|
||||||
* Delete 'endTime' attribute (use startTime+duration if needed)
|
* Delete 'endTime' attribute (use startTime+duration if needed)
|
||||||
|
|
Loading…
Reference in a new issue