A lot of things.
This commit is contained in:
@@ -21,4 +21,9 @@ class Game extends Model
|
||||
{
|
||||
return $this->belongsTo(Genre::class);
|
||||
}
|
||||
|
||||
public function entries(): Game|\Illuminate\Database\Eloquent\Relations\HasMany
|
||||
{
|
||||
return $this->hasMany(Entry::class);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user