cloud-ide-model-schema 1.1.148 → 1.1.149
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -86,9 +86,7 @@ var auth_user_mst = new mongoose_1.Schema({
|
|
|
86
86
|
// Indexes for performance optimization
|
|
87
87
|
// Compound index for user listing queries (sorting and filtering)
|
|
88
88
|
auth_user_mst.index({ user_fullname: 1, user_username: 1 });
|
|
89
|
-
// Note: user_emailid already
|
|
90
|
-
// Index for username search (already unique, but explicit index for clarity)
|
|
91
|
-
auth_user_mst.index({ user_username: 1 });
|
|
89
|
+
// Note: user_username, user_emailid, and user_mobileno already have unique: true which creates indexes automatically
|
|
92
90
|
// Index for fullname search
|
|
93
91
|
auth_user_mst.index({ user_fullname: 1 });
|
|
94
92
|
// Index for active user filtering
|
package/package.json
CHANGED