Skip to content
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

[Config] Migrate UUID for JSON backend #2604

merged 4 commits into from Apr 24, 2019


Copy link

commented Apr 23, 2019


  • Bugfix
  • Enhancement
  • New feature

Description of the changes

Due to some unforeseen issues with the previous method of generating/saving the unique identifier number, we've had to implement a way to migrate all previous identifiers to a safer generation/saving method.

This code requires all users to migrate to JSON (from both old and new Mongo drivers), and load the bot one time before converting back to Mongo. All JSON users will be unaffected.


It's important to note that if existing MongoDBV2 users do NOT migrate back to JSON after this PR, their bot will still connect to discord successfully, but all existing data will be inaccessible to the bot. Performing the JSON conversion and load will make data accessible again.

tekulvw added some commits Apr 23, 2019

@tekulvw tekulvw merged commit 05e2851 into Cog-Creators:V3/develop Apr 24, 2019

1 check passed

Travis CI - Pull Request Build Passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.