added relationship to app history model
This commit is contained in:
parent
aa1251a1c6
commit
bddab36380
@ -14,4 +14,9 @@ class ModuleHistory extends Model
|
|||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
protected $fillable = ['company_id', 'module_id', 'version', 'description', 'created_from', 'created_by'];
|
protected $fillable = ['company_id', 'module_id', 'version', 'description', 'created_from', 'created_by'];
|
||||||
|
|
||||||
|
public function module()
|
||||||
|
{
|
||||||
|
return $this->belongsTo('App\Models\Module\Module');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user