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

Clean up TextOfEmail message texts #3759

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Clean up TextOfEmail message texts #3759

wants to merge 2 commits into from

Conversation

willgearty
Copy link
Member

This cleans up (i.e., deletes) all of the message texts for existing TextOfEmail objects. For large databases (e.g., Yale and Stanford), this should be a sizeable DB size reduction. This is done as a migration which also attaches MessageRequest objects to TextOfEmail objects. This allows us to then repopulate the message texts in the future (via the admin interface). This (and an option to re-clear the message text field) are now included as dropdown options for the TextOfEmail admin page.

Fixes #3539.

@willgearty willgearty added this to the Stable Release 16 milestone Jun 5, 2024
@willgearty willgearty self-assigned this Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve Email Storage in Database
1 participant