X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=app%2FModels%2FParticipant.php;fp=app%2FModels%2FParticipant.php;h=36ab3cf305e18ff1d2992ae106b6bb4117c3810b;hb=55f2d7cd6c290a0d26db177d54d20c393f890bbb;hp=0000000000000000000000000000000000000000;hpb=f642f1eda2a68ad5e09b71ccdae1499bc9d31e4f;p=alttp.git diff --git a/app/Models/Participant.php b/app/Models/Participant.php new file mode 100644 index 0000000..36ab3cf --- /dev/null +++ b/app/Models/Participant.php @@ -0,0 +1,20 @@ +belongsTo(Tournament::class); + } + + public function user() { + return $this->belongsTo(User::class); + } + +}