Skip to content

Refactor: Replace deprecated 'ensureIndex' with 'createIndex' #703

Description

@AshenScribe

The ensureIndex method is deprecated in the current MongoDB driver and will be removed in a future version. This can cause issues and log warnings during application startup.

I have already updated the code to use the recommended createIndex method to ensure future compatibility and remove deprecation warnings. I will be submitting a pull request to address this shortly.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions