Skip to content

Commit

Permalink
feat: add index in registeted-customers
Browse files Browse the repository at this point in the history
  • Loading branch information
Demetrio Marino committed Jan 18, 2024
1 parent ffd6f0d commit aeb229e
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions bench/collections/registered-customers.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,23 @@ module.exports = {
],
},
{
name: 'customerId',
name: 'shopID',
type: 'normal',
unique: true,
fields: [
{
name: 'shopID',
order: 1,
},
],
},
{
name: 'purchasesCount',
type: 'normal',
unique: true,
fields: [
{
name: 'customerId',
name: 'shopID',
order: 1,
},
],
Expand Down

0 comments on commit aeb229e

Please sign in to comment.