I'm adding a new feature that will basically hook into each time migrate saves a node and map it's ID to one table. normally migrate maps to the map table for a specific content set (which it will continue to do for it's own purposes), but often imports for nodes happen across content sets, one fore each node type. If you have quite a few node types, it is much easier for instance to use this one table for importing things like comments, files, etc. Note: your source ids must be unique across all you node imports to use this.

Comments

frankcarey’s picture

Status: Active » Fixed
mikeryan’s picture

I just added a bit to the field description to highlight the fact that this also requires that all source IDs be integers.

mikeryan’s picture

Another commit - fixed install/uninstall hook names, added update hook so previous users get the table created.

frankcarey’s picture

ah sweet, thanks mike!

frankcarey’s picture

just a reminder that if anyone gets errors about a missing {migrate_extras_node_map} table, that you'll need the dev version mike just committed and then run update.php so that the updates will run and install the table schema for it.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

khosman’s picture

I'm using 6.x-1.x-dev - and have run updates - yet continue to receive that missing table warning. Is there another step I might have missed?

khosman’s picture

Component: migrate_extras » Migrate Extras Features

Thanks - the latest update took care of the issue.