Преглед изворни кода

Update User model, add interstitial relation

Daniel Supernault пре 4 година
родитељ
комит
bd321a72f0
1 измењених фајлова са 5 додато и 0 уклоњено
  1. 5 0
      app/User.php

+ 5 - 0
app/User.php

@@ -88,4 +88,9 @@ class User extends Authenticatable
         return $this->hasMany(AccountLog::class);
     }
 
+    public function interstitials()
+    {
+        return $this->hasMany(AccountInterstitial::class);
+    }
+
 }