'integer' ]; /** * The tailors that belong to the specialization. */ public function tailors() { return $this->belongsToMany(User::class, 'tailor_specialization_user') ->where('role', 'penjahit'); } }