TinyPortal
Development => Support => Topic started by: Chelle on July 10, 2007, 07:43:02 PM
Hi all,
I'm trying to put together some mySQL statements that will re associate articles written to a user whose uid changed.
I'm good for the posts, pms, it's just that I'm still getting familiar with the TP additions. From the looks of it, I need to address articles and shouts in the shoutbox [but it looks like I can change to the new id via the DB, and this isn't as important]
From looking at the table, this should be all I need, right?
UPDATE tableprefix_tp_articles SET authorID = 'newmemberid' WHERE authorID = 'oldmemberid';
Just to follow up, this worked when I tested it on a test site a few times over for anyone else that would need to re-associate things. :)