Basic support for installation process

This commit is contained in:
Dane Everitt 2020-01-18 15:26:15 -08:00
parent f609271c35
commit 3b11ba9fca
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
6 changed files with 76 additions and 11 deletions

View file

@ -253,11 +253,11 @@ class Server extends Validable
/**
* Gets information for the egg associated with this server.
*
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
* @return \Illuminate\Database\Eloquent\Relations\HasOne
*/
public function egg()
{
return $this->belongsTo(Egg::class);
return $this->hasOne(Egg::class, 'id', 'egg_id');
}
/**