Add group creation and show current groups

This commit is contained in:
2026-03-02 00:19:55 +01:00
parent e405fec5c2
commit 4bdaf7a8ab
19 changed files with 1010 additions and 160 deletions

View File

@@ -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
{