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
{
public $incrementing = false;
public $fillable = [
'id',
'verse_code',
'ulb',
'greek',
'lemma',
'morph',
'ognt_sort',
'strongs_number',
'ulb_sort',
'phrase_id',
'sub',
];
public $visible = [
'verse_code',
'ulb',
'greek',
'lemma',
'morph',
'ognt_sort',
'strongs_number',
'ulb_sort',
'phrase_id',
'sub',
];
/**