-
Notifications
You must be signed in to change notification settings - Fork 342
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ensureIndex is deprecated in Mongoose >= 4.12.0 #268
Comments
+1 |
+1 |
2 similar comments
+1 |
+1 |
jeresig
added a commit
to jeresig/connect-mongo
that referenced
this issue
Oct 8, 2017
This fixes the warning issued by mongoose: `DeprecationWarning: `ensureIndex()` is deprecated in Mongoose >= 4.12.0, use `createIndex()` instead`
OK working on it. We already have two PR but it needs further investigation for prior-3.0 MongoDB versions. |
Published |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When my app starting up, I get this warning:
DeprecationWarning:
ensureIndex()is deprecated in Mongoose >= 4.12.0, use
createIndex()instead
The text was updated successfully, but these errors were encountered: