mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-12 17:41:06 +03:30
saeid
This commit is contained in:
@@ -19,4 +19,8 @@ class TestResult extends Model
|
||||
{
|
||||
return $this->hasMany('App\InputValue');
|
||||
}
|
||||
public function TitleImage()
|
||||
{
|
||||
return $this->morphToMany('App\Gallery', 'uploadable')->wherePivot('image_role', 'TitleImage');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user