Changing userid in posts
I had previously deleted a user from my forum. I wish to bring the user back. The user seems to be back, but the posts are not associated with the user. In phpmyadmin, there is a posts table. As I change the userid in that table for that user from 0 to the user's original user id, the user is starting to get his posts back. Is there a way I can speed this up for all the posts using sql query?
Thanks.
|