소스 검색

add $fillable

visuddhinanda 4 년 전
부모
커밋
40c0990331
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      app/Models/PaliText.php

+ 1 - 0
app/Models/PaliText.php

@@ -8,4 +8,5 @@ use Illuminate\Database\Eloquent\Model;
 class PaliText extends Model
 {
     use HasFactory;
+	protected $fillable = ['book','paragraph','level','class','toc','text','html','lenght'];
 }