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

@tekulvw tekulvw 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 tekulvw merged commit 05e2851 into Cog-Creators:V3/develop Apr 24, 2019
1 check passed
@jack1142 jack1142 added this to the 3.1.0 milestone Nov 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants