Completed model updates for Services

This commit is contained in:
Dane Everitt
2017-02-05 17:58:17 -05:00
parent 09d23deed6
commit 323f1d943f
26 changed files with 299 additions and 167 deletions

View File

@@ -53,4 +53,9 @@ class ServiceVariables extends Model
'user_editable' => 'integer',
'required' => 'integer',
];
public function serverVariables()
{
return $this->hasMany(ServerVariables::class, 'variable_id');
}
}