Hi, I am on the latest version of discourse. I have changed the domain from subdomain1.domain1.com to subdomain1.domain2.com.
My user emails have also changed from @domain1.com to @domain2.com.
I found a post to create RAKE test to do this. But this post is from 2017.
I understand we need to look at UserEmail.email now for the emails. Could you please suggest how to modify this rake task to cater to the table changes in discourse latest version.