Add core logic to allow for limited databases and allocations
This commit is contained in:
parent
5f6c153537
commit
87b96bdfc8
8 changed files with 128 additions and 43 deletions
|
@ -75,6 +75,10 @@ class ServerTransformer extends BaseTransformer
|
|||
'io' => $server->io,
|
||||
'cpu' => $server->cpu,
|
||||
],
|
||||
'feature_limits' => [
|
||||
'databases' => $server->database_limit,
|
||||
'allocations' => $server->allocation_limit,
|
||||
],
|
||||
'user' => $server->owner_id,
|
||||
'node' => $server->node_id,
|
||||
'allocation' => $server->allocation_id,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue