Skip to content

store id-mappings to resume partial migration #5

@senny

Description

@senny

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions