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

Soft-deleted user accounts should allow duplicate emails #54

Closed
issa-tseng opened this issue Jan 9, 2018 · 1 comment
Closed

Soft-deleted user accounts should allow duplicate emails #54

issa-tseng opened this issue Jan 9, 2018 · 1 comment
Assignees

Comments

@issa-tseng
Copy link
Member

We are soft-deleting accounts and formdata, so that recovery is possible. But this means that if an account is deleted, a new one cannot be created at the same address, as the unique constraint still applies.

The likely solution is to bind the unique constraint on a compound (email, deletedAt). But because account deletion isn't actually in the initial release, we can punt.

@issa-tseng
Copy link
Member Author

probably prioritize for 0.5.0 if we are introducing account deletion there.

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

3 participants