booster icon indicating copy to clipboard operation
booster copied to clipboard

Add ReadModel migrateAll method

Open gonzalojaubert opened this issue 1 year ago • 2 comments

Description

Add ReadModel migrateAll method

Checks

  • [X] Project Builds
  • [X] Project passes tests and checks
  • [X] Updated documentation accordingly

gonzalojaubert avatar Apr 04 '23 13:04 gonzalojaubert

PR Summary

  • Added migrateAll method to ReadModelSchemaMigrator This update introduces a new method called migrateAll which allows migration of all read models of a specific type in one step.
  • Updated read-model-schema-migrator tests New tests have been added to verify the functionality of the migrateAll method.
  • Created migration command for integration testing A new command has been created for integration testing purposes, which utilizes the migrateAll method.
  • Created example migration and schema versions for CartReadModel An example has been provided to demonstrate the usage of the updated migrateAll method with the CartReadModel.
  • Updated data migrations documentation The documentation has been updated to include more information about the new migrateAll method.

what-the-diff[bot] avatar Apr 04 '23 13:04 what-the-diff[bot]

👇 Click on the image for a new way to code review

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map legend

ghost avatar Apr 04 '23 13:04 ghost