More model updates to more places than I anticipated.
This probably broke a lot of things.
This commit is contained in:
parent
0d61417814
commit
4f61637284
21 changed files with 339 additions and 433 deletions
|
@ -51,4 +51,14 @@ class ServerVariables extends Model
|
|||
'server_id' => 'integer',
|
||||
'variable_id' => 'integer',
|
||||
];
|
||||
|
||||
/**
|
||||
* Returns information about a given variables parent.
|
||||
*
|
||||
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
|
||||
*/
|
||||
public function variable()
|
||||
{
|
||||
return $this->belongsTo(ServiceVariables::class, 'variable_id');
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue