Переглянути джерело

$fillable 增加 'mean','note'

visuddhinanda 3 роки тому
батько
коміт
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 = [
 	protected $casts = [
 		'id' => 'string'
 		'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'];
 }
 }