Make sure we can update the Word object with the new table column data on mass updates

This commit is contained in:
Leonard Smith 2021-05-01 16:39:22 -05:00
parent c69fbea376
commit 6e4cb11206
1 changed files with 8 additions and 2 deletions

View File

@ -6,25 +6,31 @@ use Illuminate\Database\Eloquent\Model;
class Word extends Model class Word extends Model
{ {
public $incrementing = false;
public $fillable = [ public $fillable = [
'id', 'id',
'verse_code',
'ulb', 'ulb',
'greek', 'greek',
'lemma', 'lemma',
'morph', 'morph',
'ognt_sort', 'ognt_sort',
'strongs_number', 'strongs_number',
'ulb_sort',
'phrase_id',
'sub',
]; ];
public $visible = [ public $visible = [
'verse_code',
'ulb', 'ulb',
'greek', 'greek',
'lemma', 'lemma',
'morph', 'morph',
'ognt_sort', 'ognt_sort',
'strongs_number', 'strongs_number',
'ulb_sort',
'phrase_id',
'sub',
]; ];
/** /**