mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
events renamed to course events
This commit is contained in:
@@ -28,7 +28,7 @@ class Registration extends Model
|
||||
'active' => 'boolean',
|
||||
];
|
||||
|
||||
public function event(): \Illuminate\Database\Eloquent\Relations\BelongsTo
|
||||
public function courseEvent(): \Illuminate\Database\Eloquent\Relations\BelongsTo
|
||||
{
|
||||
return $this->belongsTo(CourseEvent::class);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user