Any help to guide me for the code part where the ‘users’ collection unique indexes (such as ‘username’ and ‘email.address’ ) are been created at? I cant find it anywhere in the code…
Most of the indexes are created here: Rocket.Chat/app/models/server/models/Users.js,
but not all of them (as I mentioned above).
Thanks in advance for your help
Server Setup Information
- Version of Rocket.Chat Server: 3.0.4
- MongoDB Version: 4.2.6