fix attribut name
This commit is contained in:
1 parent
0e5d6a1270
commit
4ebb1ad6c0
4 files changed
+4
-6
No files matched your search
@@ -16,6 +16,6 @@ class Event extends Model
|
||||
];
|
||||
|
||||
public function tasks() {
|
||||
return $this->hasMany(Task::class);
|
||||
return $this->hasMany(Task::class, 'events_id');
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user