Complete Task 1

This commit is contained in:
Thuan Bui
2025-04-04 15:43:30 +09:00
parent f9345a878b
commit 0a7a4ab3b4
3 changed files with 11330 additions and 1154 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ class User extends Authenticatable
public function tasks()
{
// TASK: fix this by adding a parameter
return $this->hasMany(Task::class);
return $this->hasMany(Task::class,'users_id');
}
public function comments()
Generated
+1460 -1153
View File
File diff suppressed because it is too large Load Diff
+9869
View File
File diff suppressed because it is too large Load Diff