Explorar o código

Update StoryView model

Daniel Supernault %!s(int64=5) %!d(string=hai) anos
pai
achega
b73823b11a
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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);