diff --git a/app/Models/CarRegistration.php b/app/Models/CarRegistration.php index a3799bb..6cae2b7 100644 --- a/app/Models/CarRegistration.php +++ b/app/Models/CarRegistration.php @@ -19,5 +19,5 @@ class CarRegistration extends Model protected $table = 'CarRegistration'; public $timestamps = false; protected $fillable = ['driverID', 'vin', 'car_plate', 'make', 'model', 'year', 'expiration_date', 'color', 'owner', 'color_hex', 'fuel', 'isDefault', 'status', 'vehicle_category_id', 'fuel_type_id']; - public const ENCRYPTED_FIELDS = ['car_plate', 'owner']; + public const ENCRYPTED_FIELDS = ['car_plate', 'owner', 'vin']; }