Add group creation and show current groups
This commit is contained in:
@@ -50,12 +50,7 @@ class User extends Authenticatable
|
||||
|
||||
public function crews(): BelongsToMany
|
||||
{
|
||||
return $this->belongsToMany(
|
||||
Crew::class,
|
||||
'crew_members',
|
||||
'user_id',
|
||||
'crew_id'
|
||||
)->withTimestamps();
|
||||
return $this->belongsToMany(Crew::class)->withTimestamps();
|
||||
}
|
||||
public function settings(): HasMany
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user