XF 2.3 Edit "likes" username

nodle

Well-known member
So awhile back when I did an import I had to create a user (nodle1) and then in the meantime I edited my username to get it back to normal (nodle). What I noticed is alot of the old likes still have the username (nodle1) that I see when I am logged out while everything I liked since the username change (nodle) is using the correct name.

My question is, is there anyways to edit and change these old likes (nodle1) to what it should be (nodle). Is there a Msql command that I can run to change these names? I want to change all likes with the username (nodle1) to (nodle). Is that possible?
 
I found this in another post, would something like this work?

Code:
UPDATE xf_post SET message = REPLACE(message, 'nodle1', 'nodle');

Or would it need to be set to the table where the reactions are such as:

Code:
UPDATE xf_reaction_content SET message = REPLACE(message, 'nodle1', 'nodle');

Do you think a database query like this would work?
 
Back
Top Bottom