Browse Source

add $fillable

visuddhinanda 4 years ago
parent
commit
10a4a90511
1 changed files with 2 additions and 0 deletions
  1. 2 0
      app/Models/ResIndex.php

+ 2 - 0
app/Models/ResIndex.php

@@ -8,4 +8,6 @@ use Illuminate\Database\Eloquent\Model;
 class ResIndex extends Model
 {
     use HasFactory;
+	protected $fillable = ['book','paragraph','title','title_en','level','type','language','author','share','create_time','update_time'];
+
 }