I've recently upgraded a site from a CCK-riddled D6 to D7. I'm pretty much up and running, but I need to migrate my file attachments (they're all in the database, but not appearing on any nodes). I tried the D7 module CCK/migrate module, but it just says "There is no D6 field information in this database.".
To try to work around this, I had a poke about in the database. I found all my file attachments in the content_field_file table. A bit of a funky insert...select later, and I'd copied that data to the field_data_field_attachments table. The thing is, these attachments don't show on nodes.
My question is: What (other) database tables are involved in getting an attachment to appear on a node? I've had a play with DB logging in the devel module, but didn't find anything useful. I tried looking in the Content Migrate module, but no joy there either. Anyone know anything more about this?