Add basic database listing for server

This commit is contained in:
Dane Everitt
2018-08-21 21:47:01 -07:00
parent 04f56ffe99
commit 17796fb1c4
13 changed files with 255 additions and 23 deletions

View File

@@ -76,7 +76,7 @@ class DatabaseRepository extends EloquentRepository implements DatabaseRepositor
*/
public function getDatabasesForServer(int $server): Collection
{
return $this->getBuilder()->where('server_id', $server)->get($this->getColumns());
return $this->getBuilder()->with('host')->where('server_id', $server)->get($this->getColumns());
}
/**