public function create($user, array $data)
    {
        $team = $user->teams()->create(
            ['name' => $data['name']], ['role' => 'owner']
        );

        $team->owner_id = $user->id;

        $team->save();

        return $team;
    }