Skip to content

Commit 6ecd607

Browse files
committed
Fix check order
1 parent 8284952 commit 6ecd607

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/Database/Validator/Index.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,6 @@ public function isValid($value): bool
108108
if (!$this->checkMultipleFulltextIndexes($value)) {
109109
return false;
110110
}
111-
if (!$this->checkIdenticalIndexes($value)) {
112-
return false;
113-
}
114111
if (!$this->checkFulltextIndexNonString($value)) {
115112
return false;
116113
}
@@ -132,6 +129,9 @@ public function isValid($value): bool
132129
if (!$this->checkVectorIndexes($value)) {
133130
return false;
134131
}
132+
if (!$this->checkIdenticalIndexes($value)) {
133+
return false;
134+
}
135135
return true;
136136
}
137137

0 commit comments

Comments
 (0)