Regardless of the adjustment issue, it's nice to populate this column anyway because there's no fundamental reason an object can't have mail sent about it without being saved first, even though it may not practically be possible in the codebase today.
- Maniphest Tasks
- T4029: Support policies on Phriction wiki articles
T1191: Comments are truncated at first non-base-plane character
T6487: Historic Phriction documents do not have mailKeys populated
- Restricted Diffusion Commit
rPe58259b4f52b: Retroactively populate Phriction mailKey column
- Ran storage upgrade, saw the column populate for older documents.
- Forced a couple of keys to bad values (too short or with "\0") and saw the migration fix them.