Przeglądaj źródła

Update User model, add interstitial relation

Daniel Supernault 4 lat temu
rodzic
commit
bd321a72f0
1 zmienionych plików z 5 dodań i 0 usunięć
  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);
+    }
+
 }