Make sure we can update the Word object with the new table column data on mass updates
This commit is contained in:
parent
c69fbea376
commit
6e4cb11206
10
app/Word.php
10
app/Word.php
|
@ -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',
|
||||
];
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue