Pārlūkot izejas kodu

Update FollowRequest model

Daniel Supernault 6 gadi atpakaļ
vecāks
revīzija
13894415ee
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      app/FollowRequest.php

+ 2 - 0
app/FollowRequest.php

@@ -6,6 +6,8 @@ use Illuminate\Database\Eloquent\Model;
 
 class FollowRequest extends Model
 {
+	protected $fillable = ['follower_id', 'following_id'];
+	
     public function follower()
     {
         return $this->belongsTo(Profile::class, 'follower_id', 'id');