Add all of the potential transformers that might be needed for now.
This commit is contained in:
parent
65630bdcce
commit
51204b8d9d
12 changed files with 642 additions and 9 deletions
|
@ -313,4 +313,14 @@ class Server extends Model
|
|||
{
|
||||
return $this->hasMany(Database::class);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the location of the server.
|
||||
*
|
||||
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
|
||||
*/
|
||||
public function location()
|
||||
{
|
||||
return $this->node->location();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue