1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.1 Checking for orphan attachments?

Discussion in 'XenForo Questions and Support' started by Floren, Mar 15, 2012.

  1. Floren

    Floren Well-Known Member

    I did an import from vBulletin to Xenforo. The forum had over 150GB of attachments. Due to the "shaky" setup (lots of old vBulletin products), I'm not sure if all attachments imported properly. Is there a way I could verify if there are any orphan attachments that don't belong to any post?

    I'm looking at the xf_attachment and xf_post tables... I don't see a 'content_id' or any column that can associate the attachments to a specific post. Thank you for your help.
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Actually the importer doesn't import orphaned attachments. It won't import an attachment if it can't find a matching post_id.
     

Share This Page