소스 검색

$fillable 增加 'mean','note'

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

+ 1 - 1
app/Models/UserDict.php

@@ -11,5 +11,5 @@ class UserDict extends Model
 	protected $casts = [
 		'id' => 'string'
 	];
-	protected $fillable = ['id','word','type','grammar','parent','factors','source','create_time'];
+	protected $fillable = ['id','word','type','grammar','parent','mean','note','factors','factor_mean','source','create_time','creator_id','dict_id'];
 }