diff --git a/app/Models/Inspection.php b/app/Models/Inspection.php index 8df7d3f..b8d13dc 100644 --- a/app/Models/Inspection.php +++ b/app/Models/Inspection.php @@ -29,4 +29,9 @@ class Inspection extends Model { return $this->belongsTo(User::class); } + + public function feature() + { + return $this->belongsTo(Feature::class, 'feature_id'); + } }