We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb89e8c commit daa6bacCopy full SHA for daa6bac
1 file changed
src/Database/Validator/Sequence.php
@@ -49,10 +49,6 @@ public function isValid($value): bool
49
return false;
50
}
51
52
- if (!$this->primary) {
53
- return true;
54
- }
55
-
56
switch ($this->idAttributeType) {
57
case Database::VAR_UUID7:
58
return \is_string($value) && preg_match('/^[a-f0-9]{8}-[a-f0-9]{4}-7[a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}$/i', $value) === 1;
0 commit comments