I want to make relation between 2 tables by third table like:

1. Player can be signed to 1 team only.
2. Team can have many players.

current relations
=================

`player model`

```
public function teams()
    {
       return $this->belongsToMany(Team::class, 'team_players', 'team_id', 'player_id');
    }

```

`team model`

```
public function players()
    {
        return $this->belongsToMany(Player::class, 'team_players', 'team_id', 'player_id');
    }

```

more...
-------

currently 1 player can be select for unlimited teams at the same time, what I want is 1 player = 1 team only. and if I detached player from that team then be able to sign it to another team.

How can i do that?