while running a migration we have access to the "old <---> new" id-mapping table.
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.