feat(usermanagement): enhance user-branch relationship by syncing branches and adding timestamps
This commit is contained in:
@@ -24,7 +24,8 @@ class UserBranch extends Model
|
||||
|
||||
public function user()
|
||||
{
|
||||
return $this->belongsTo(User::class);
|
||||
return $this->belongsTo(User::class)
|
||||
->withTimestamps();
|
||||
}
|
||||
|
||||
public function branch()
|
||||
|
||||
Reference in New Issue
Block a user