fix attribut name

This commit is contained in:
2026-03-19 10:22:59 +01:00
parent 0e5d6a1270
commit 4ebb1ad6c0
4 changed files with 4 additions and 6 deletions
+1 -1
View File
@@ -16,6 +16,6 @@ class Event extends Model
];
public function tasks() {
return $this->hasMany(Task::class);
return $this->hasMany(Task::class, 'events_id');
}
}