You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
protected function validateData(Version $version, $sourceEncoding)
151
+
{
152
+
if (strpos($version->model_data, $this->encodingCheck[$sourceEncoding]) === 0) {
153
+
throw new RuntimeException("Wrong source encoding while trying to convert from '$sourceEncoding': ".substr($version->model_data, 0, 10).'..');
154
+
}
155
+
}
156
+
}
157
+
```
158
+
72
159
### Exclude attributes from versioning
73
160
74
161
Sometimes you don't want to create a version *every* time an attribute on your model changes. For example your User model might have a `last_login_at` attribute.
0 commit comments