Add all of the potential transformers that might be needed for now.

This commit is contained in:
Dane Everitt 2017-04-07 20:28:58 -04:00
parent 65630bdcce
commit 51204b8d9d
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
12 changed files with 642 additions and 9 deletions

View file

@ -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();
}
}