-
Notifications
You must be signed in to change notification settings - Fork 92
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
Remove deprecated User fields #169
Comments
I have found the attributes mentioned in the |
@morrme remove the fields, run the app and test your change. I'd suggest to add a test for a case some users still don't have authorizations embedded documents. |
Do you want the fields removed from existing documents as well ( like |
Yes, but for that there should be a rake task that I could use against the prod database. @morrme that would be a delicate task that I should work on, and I guess that is a blocker for this issue. Let's put this on hold please. |
Before authorizations embedded documents existed, auth data was stored in the users documents. Active users' data should be up to date, because auth data is updated during session creation.
Let's remove
User
's deprecated attributes and update finders (#find_by_omniauth
).User
attributes to be removed:provider
uid
token
gravatar_id
The text was updated successfully, but these errors were encountered: