Customer set bool cast for opt_in
This commit is contained in:
parent
c4de30ae7e
commit
7c26772d69
1 changed files with 4 additions and 0 deletions
|
|
@ -17,6 +17,10 @@ class CustomerInfo extends Model
|
|||
'newcountry' => Country::class
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
'opt_in' => 'bool'
|
||||
];
|
||||
|
||||
protected $fillable = [
|
||||
'firstname',
|
||||
'lastname',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue