1
0
Эх сурвалжийг харах

Update FollowRequest model

Daniel Supernault 6 жил өмнө
parent
commit
13894415ee
1 өөрчлөгдсөн 2 нэмэгдсэн , 0 устгасан
  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');