1
0
Fork 0
mirror of synced 2024-07-03 13:41:01 +12:00

migration bucketInternalId

This commit is contained in:
shimon 2023-05-14 10:43:44 +03:00
parent 4dd1f5710b
commit bbbbedfd83

View file

@ -81,6 +81,18 @@ class V17 extends Migration
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 {
/**
* Delete 'endTime' attribute (use startTime+duration if needed)