1
0
Fork 0
mirror of synced 2024-06-14 16:54:52 +12:00

Add fulltext index for collections collection name column to fix listCollections search

This commit is contained in:
Jake Barnby 2022-01-19 00:45:44 +13:00
parent 11b0967d3b
commit 1a6a1498bc

View file

@ -102,6 +102,13 @@ $collections = [
'lengths' => [1024],
'orders' => [Database::ORDER_ASC],
],
[
'$id' => '_fulltext_name',
'type' => Database::INDEX_FULLTEXT,
'attributes' => ['name'],
'lengths' => [256],
'orders' => [Database::ORDER_ASC],
],
],
],