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

Mark active users as confirmed #618

Merged
merged 2 commits into from Dec 19, 2016
Merged

Mark active users as confirmed #618

merged 2 commits into from Dec 19, 2016

Conversation

noirbizarre
Copy link
Contributor

This PR add a migration marking already active users but without the confirmed_at attribute as confirmed

@davidbgk
Copy link
Member

A bit meta but I think that every migration should have an entry in the changelog to explain what the problem was and how we fixed it, thoughts?

@noirbizarre
Copy link
Contributor Author

Changelog added

* this migration confirm all active users.
*/

var result = db.user.update(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If MongoEngine supports ES6, why not use let instead of var ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sadly it doesn't support let this is not a full ES6 support yet

@noirbizarre noirbizarre merged commit 25e24d5 into opendatateam:dev Dec 19, 2016
@noirbizarre noirbizarre deleted the confirm-active-users branch December 19, 2016 09:18
@noirbizarre noirbizarre added this to the 1.0 milestone Jan 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants