mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-17 21:49:01 +01:00
Fix the relationship column
This commit is contained in:
parent
9ce390c780
commit
b931c59ae6
@ -6,7 +6,7 @@
|
||||
* @return Illuminate\Database\Eloquent\Relations
|
||||
*/
|
||||
public function incidents() {
|
||||
return $this->hasMany('Incident', 'component_id', 'id');
|
||||
return $this->hasMany('Incident', 'component', 'id');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user