Fixing some examples

This commit is contained in:
David
2025-05-03 01:57:26 -04:00
parent 9f12bc28d0
commit d64e9c00be
13 changed files with 132 additions and 29 deletions

View File

@@ -9,6 +9,6 @@ class Department extends Model
{
public function group() : BelongsTo
{
return $this->belongsTo(DepartmentGroup::class, 'id');
return $this->belongsTo(DepartmentGroup::class, 'department_group_id');
}
}