]> git.localhorst.tv Git - alttp.git/blobdiff - app/Models/Event.php
exclude 0 scores from leaderboard calculation
[alttp.git] / app / Models / Event.php
index b566dbb5553925e36ba26bba2ce7ae44ad3d1964..331a384f8d1147deb04292552bdfec15a156eef4 100644 (file)
@@ -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);
        }