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

XForm MD5 Hash DB Migration #1187

Closed
jasonrogena opened this issue Nov 30, 2017 · 1 comment · Fixed by #1205
Closed

XForm MD5 Hash DB Migration #1187

jasonrogena opened this issue Nov 30, 2017 · 1 comment · Fixed by #1205
Milestone

Comments

@jasonrogena
Copy link
Contributor

jasonrogena commented Nov 30, 2017

Add a DB migration that creates MD5 hashes for older forms that were published before the hash column was created in the logger_xform table.

Aha! Link: https://ona.aha.io/features/PROD-480

@jasonrogena
Copy link
Contributor Author

jasonrogena commented Nov 30, 2017

Current workaround is to manually run:

UPDATE logger_xform SET hash = CONCAT('md5:', MD5(XML)) WHERE hash IS NULL;

@ukanga ukanga added this to the Week 48 - 49 milestone Dec 4, 2017
@ukanga ukanga modified the milestones: Week 48 - 52, Week 1 - 2 Jan 2, 2018
ukanga added a commit that referenced this issue Jan 11, 2018
ukanga added a commit that referenced this issue Jan 11, 2018
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 a pull request may close this issue.

2 participants