Browse Source

Update User model, add interstitial relation

Daniel Supernault 4 năm trước cách đây
mục cha
commit
bd321a72f0
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  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);
+    }
+
 }