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
|
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',
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue