Browse Source

add fillable

visuddhinanda 3 years ago
parent
commit
c1c4de1794
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/Models/Channel.php

+ 1 - 0
app/Models/Channel.php

@@ -8,6 +8,7 @@ use Illuminate\Database\Eloquent\Model;
 class Channel extends Model
 {
     use HasFactory;
+    protected $fillable = ['name','summary','type','lang','status','updated_at','created_at'];
 
     protected $primaryKey = 'uid';
     protected $casts = [