Kaynağa Gözat

Update EmailVerification model

Daniel Supernault 6 yıl önce
ebeveyn
işleme
4415530458
1 değiştirilmiş dosya ile 5 ekleme ve 0 silme
  1. 5 0
      app/EmailVerification.php

+ 5 - 0
app/EmailVerification.php

@@ -13,4 +13,9 @@ class EmailVerification extends Model
 
         return "{$base}{$path}";
     }
+
+	public function user()
+	{
+		return $this->belongsTo(User::class);
+	}
 }