mirror of
https://github.com/nodemailer/wildduck.git
synced 2025-01-01 13:13:53 +08:00
updated indexes
This commit is contained in:
parent
4144f7df2a
commit
beb0871d72
1 changed files with 7 additions and 8 deletions
15
indexes.yaml
15
indexes.yaml
|
@ -57,14 +57,6 @@ indexes:
|
|||
sparse: true
|
||||
|
||||
# Indexes for the addresses collection
|
||||
# note: is it really needed? maybe sort and list using addrview?
|
||||
- collection: addresses
|
||||
type: users # index applies to users database
|
||||
index:
|
||||
name: address
|
||||
key:
|
||||
address: 1
|
||||
|
||||
- collection: addresses
|
||||
type: users # index applies to users database
|
||||
index:
|
||||
|
@ -72,6 +64,13 @@ indexes:
|
|||
unique: true
|
||||
key:
|
||||
addrview: 1
|
||||
|
||||
- collection: addresses
|
||||
type: users # index applies to users database
|
||||
index:
|
||||
name: address_paging
|
||||
key:
|
||||
addrview: 1
|
||||
_id: 1
|
||||
|
||||
- collection: addresses
|
||||
|
|
Loading…
Reference in a new issue