added support for inviting list collaborators

This commit is contained in:
Edward Tirado Jr 2026-04-03 00:39:37 -05:00
parent cd2c8adaa8
commit 0787b75780
21 changed files with 393 additions and 34 deletions

View file

@ -18,4 +18,9 @@ class MovieList extends Model
{
return $this->belongsToMany(Movie::class);
}
public function collaborators(): BelongsToMany
{
return $this->belongsToMany(User::class, 'movie_list_user');
}
}