Browse Source

Update StoryView model

Daniel Supernault 5 năm trước cách đây
mục cha
commit
b73823b11a
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      app/StoryView.php

+ 2 - 0
app/StoryView.php

@@ -6,6 +6,8 @@ use Illuminate\Database\Eloquent\Model;
 
 class StoryView extends Model
 {
+	public $fillable = ['story_id', 'profile_id'];
+	
 	public function story()
 	{
 		return $this->belongsTo(Story::class);