Begin working on administrative server view changes
Also includes tests for the DatabaseCreation service.
This commit is contained in:
parent
0c513f24d5
commit
580e5ac569
18 changed files with 584 additions and 135 deletions
|
@ -44,4 +44,12 @@ class AllocationRepository extends EloquentRepository implements AllocationRepos
|
|||
{
|
||||
return $this->getBuilder()->whereIn('id', $ids)->update(['server_id' => $server]);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getAllocationsForNode($node)
|
||||
{
|
||||
return $this->getBuilder()->where('node_id', $node)->get();
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue