garaio/data-import — Issue #5: store id-mappings to resume partial migration
Author: senny
Created: 2011-12-20 15:21:30+00:00
State: open
Labels: @feature

while running a migration we have access to the "old <---> new" id-mapping table.

```ruby
mapping 'Country' do |context, value|
{:country_id => context.definition('Countries').new_id_of(value)}
end
```

It would be cool if these mappings were persisted to disk after the migration process. That way it would be possible to reuse a partially migrated state and continue migrating missing parts. This would also impact the dependency system since it needs to know, which definitions are already migrated.