Explorar el Código

add $fillable

visuddhinanda hace 4 años
padre
commit
10a4a90511
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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'];
+
 }