X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=app%2FModels%2FEvent.php;h=331a384f8d1147deb04292552bdfec15a156eef4;hb=f6408dcec11bb63eb1c996d73ebf5629335e25aa;hp=b566dbb5553925e36ba26bba2ce7ae44ad3d1964;hpb=15132749249f6418fd5695547b5c323a0ad10939;p=alttp.git diff --git a/app/Models/Event.php b/app/Models/Event.php index b566dbb..331a384 100644 --- a/app/Models/Event.php +++ b/app/Models/Event.php @@ -10,6 +10,10 @@ class Event extends Model use HasFactory; + public function description() { + return $this->belongsTo(Technique::class); + } + public function episodes() { return $this->hasMany(Episode::class); }