Skip to content

Commit 838068b

Browse files
updated index validator
1 parent 6cfac6f commit 838068b

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/Database/Database.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1643,6 +1643,11 @@ public function createCollection(string $id, array $attributes = [], array $inde
16431643
$this->adapter->getSupportForMultipleFulltextIndexes(),
16441644
$this->adapter->getSupportForIdenticalIndexes(),
16451645
$this->adapter->getSupportForObjectIndexes(),
1646+
$this->adapter->getSupportForTrigramIndex(),
1647+
$this->adapter->getSupportForSpatialAttributes(),
1648+
$this->adapter->getSupportForIndex(),
1649+
$this->adapter->getSupportForUniqueIndex(),
1650+
$this->adapter->getSupportForFulltextIndex(),
16461651
);
16471652
foreach ($indexes as $index) {
16481653
if (!$validator->isValid($index)) {

0 commit comments

Comments
 (0)