From 211a527ae176df667f6f8fbc95901c53a368d8e2 Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 3 Dec 2013 03:40:15 -0500 Subject: [PATCH] Fixed FK --- app/models/LicenseSeat.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/LicenseSeat.php b/app/models/LicenseSeat.php index cb86bee5c6..f3383aeb0d 100644 --- a/app/models/LicenseSeat.php +++ b/app/models/LicenseSeat.php @@ -6,7 +6,7 @@ class LicenseSeat extends Elegant { public function license() { - return $this->belongsTo('License'); + return $this->belongsTo('License','license_id'); } public function user()