belongsTo(Project::class); } public function users() { return $this->belongsToMany(User::class, 'credential_user')->withTimestamps(); } }