Skip to content

Commit

Permalink
index2
Browse files Browse the repository at this point in the history
  • Loading branch information
FabioPinheiro committed Jun 5, 2023
1 parent 7baff42 commit 09fce96
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions initdb.js
Expand Up @@ -17,4 +17,5 @@ use(database);
db.createCollection(collectionDidAccount);
db.createCollection(collectionMessages);
//create index
db.collection(collectionDidAccount).createIndex({ 'did': 1 }, { unique: true });
db.collection(collectionDidAccount).createIndex({ 'alias': 1 }, { unique: true });

0 comments on commit 09fce96

Please sign in to comment.