mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-12 03:13:45 +02:00
More model updates to more places than I anticipated.
This probably broke a lot of things.
This commit is contained in:
@@ -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 New Issue
Block a user