X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;ds=sidebyside;f=app%2FModels%2FUser.php;h=72286a4891e48a5d789d2ba682eb4eff53fb79a1;hb=6976d85a7117de53f7d42dee3de1f6b8fcb9726d;hp=201361e68534eb869f94a1c3e50dc61140552a6b;hpb=8f82545b35219e093ea60e304699b61fb63966f2;p=alttp.git diff --git a/app/Models/User.php b/app/Models/User.php index 201361e..72286a4 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -115,6 +115,10 @@ class User extends Authenticatable } + public function channel_crews() { + return $this->hasMany(ChannelCrew::class); + } + public function participation() { return $this->hasMany(Participant::class); } @@ -186,6 +190,7 @@ class User extends Authenticatable protected $fillable = [ 'id', 'username', + 'discord_nickname', 'discriminator', 'email', 'avatar',