diff --git a/app/Models/CustomerInfo.php b/app/Models/CustomerInfo.php index 829b680..3da4e03 100644 --- a/app/Models/CustomerInfo.php +++ b/app/Models/CustomerInfo.php @@ -17,6 +17,10 @@ class CustomerInfo extends Model 'newcountry' => Country::class ]; + protected $casts = [ + 'opt_in' => 'bool' + ]; + protected $fillable = [ 'firstname', 'lastname',