wip
This commit is contained in:
1 parent
49b1eba348
commit
9ca5657827
28 files changed
+288
-234
No files matched your search
@@ -142,4 +142,9 @@ class Event extends Model
|
||||
{
|
||||
return $this->hasOne(EventUserStar::class, 'event_id', 'id')->where('user_id', auth()->user()->id);
|
||||
}
|
||||
|
||||
public function event_bookmaker()
|
||||
{
|
||||
return $this->hasOne(EventBookmaker::class, 'event_id', 'id')->where('bookmaker_id', auth()->user()->bookmaker_id);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user