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

Increase donors table email column length #3525

Closed
1 task
andreasnrb opened this issue Jul 26, 2018 · 2 comments
Closed
1 task

Increase donors table email column length #3525

andreasnrb opened this issue Jul 26, 2018 · 2 comments
Assignees

Comments

@andreasnrb
Copy link

User Story

As a developer, I want an increase of the email column length of donors table so that I can store larger values such as a hashed email. Bcrypt uses 60 chars.

Current Behavior

Strings longer than 50 causes errors.

Expected Behavior

I expect to store emails larger than 50 characters.

Possible Solution

Change the email column length to varchar(100) or varchar(255)

Tasks

  • Increase donors table email column length
@raftaar1191
Copy link
Contributor

Finding

Email column length is not getting updated when setting up a fresh sites

image

Video Link: https://screencast-o-matic.com/watch/cFiwrZF99j

@andreasnrb
Copy link
Author

Alter the create table instead since dbDelta handles that automatically.

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

4 participants