learning-unlimited / ESP-Website

A website to help manage the logistics of large, short-term educational programs
84 stars 57 forks source link

Clean up TextOfEmail message texts #3759

Open willgearty opened 5 months ago

willgearty commented 5 months ago

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.