Skip to content

store id-mappings to resume partial migration #5

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions