MyBB Community Forums

Full Version: How I can recalculate pid value in mybb_attachments table?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
After merging two MyBB boards pid value in mybb_attachments table is 0. How I can recalculate this value if I know posthash value in same table? SQL query? And how I can update attachment information to posts after this?
Rebuild and recount from ACP > Tools & Maintenance.