mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 06:53:25 +00:00
And keep the fields updated, by copying on UserProfile creation and updating the UserProfile object whenever we're updating the User object, and add management commands to (1) initially ensure that they match and (2) check that they still match (aka that the updating code is working). The copy_user_to_userprofile migration needs to be run after this is deployed to prod. (imported from commit 0a598d2e10b1a7a2f5c67dd5140ea4bb8e1ec0b8)
6.0 KiB
6.0 KiB