github.com/kyma-project/kyma-environment-broker@v0.0.1/internal/migrations/README.md (about)

     1  # Migrations
     2  
     3  If you want to provide a migration that requires breaking changes, you can use this package to store the migration files.
     4  
     5  ## Best practices
     6  
     7  - For each migration that requires breaking changes, you should implement a rollback that easily reverts changes in case of any problems.
     8  - Migration and rollback execution must be configurable.
     9  - Before the migration, both migration and rollback scenario should be tested on the mocked Postgres storage containing the same data as on the `DEV` environment.
    10  - After the migration is done on every environment, remove it from the KEB's source code.