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

document migration issue with email field #164

Closed
guruofgentoo opened this issue Aug 22, 2022 · 0 comments
Closed

document migration issue with email field #164

guruofgentoo opened this issue Aug 22, 2022 · 0 comments
Assignees

Comments

@guruofgentoo
Copy link
Member

We use the EmailType to store emails. Because emails are not case-sensitive, that type converts to lowercase before persisting the value to the database.

When migrating an existing database to keg-auth user model, emails stored there may not be lowercase. That breaks the expectations of EmailType for comparisons, and things like login and the forgot password form will not find the records.

We need to at least document this and related migration issues (such as #160). And, it may be helpful to provide a migration-related CLI task that will resolve these common issues.

@guruofgentoo guruofgentoo self-assigned this Dec 8, 2022
guruofgentoo added a commit that referenced this issue Dec 8, 2022
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

No branches or pull requests

1 participant