1
0
Fork 0
mirror of synced 2024-09-28 23:41:23 +12:00

Merge branch '1.6.x' into fix-16x-qa

This commit is contained in:
Matej Bačo 2024-08-14 12:25:57 +02:00 committed by GitHub
commit 468a540d17
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -92,11 +92,11 @@ class V21 extends Migration
Console::warning("'scopes' from {$id}: {$th->getMessage()}");
}
// Create size attribute
// Create specification attribute
try {
$this->createAttributeFromCollection($this->projectDB, $id, 'size');
$this->createAttributeFromCollection($this->projectDB, $id, 'specification');
} catch (Throwable $th) {
Console::warning("'size' from {$id}: {$th->getMessage()}");
Console::warning("'specification' from {$id}: {$th->getMessage()}");
}
break;
@ -177,7 +177,7 @@ class V21 extends Migration
$document->setAttribute('scopes', []);
// Add size attribute
$document->setAttribute('size', 's-1vcpu-512m');
$document->setAttribute('specification', APP_FUNCTION_BASE_SPECIFICATION);
}
return $document;