spring-projects / spring-projects/spring-data-mongodb

Add support for database migrations [DATAMONGO-1241]

Open
#2,156 0 comments 0 reactions 1 assignee View on GitHub

@odrotbohm is already working on this.

Since Dec 30, 2020.

in: core in: repository type: enhancement
Dominant language
Java
Stars
1.7k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

Oliver Drotbohm opened DATAMONGO-1241 and commented

Mongeez is an open-source library that allows to define change sets to be applied to a MongoDB database. This very useful to execute index creation, demo data etc. It's primary benefit though is in the recognition of change sets that already have been executed so that it can reliably bring a database instance to the same state.

We should provide a similar mechanism out of the box with the following features:

  • Support for programmatic change sets written in Java
  • Support for JavaScript change sets

One question open is how to handle failure of change set executions so we might need means to indicate the ability to retry, custom compensating rollback actions etc


Reference URL: https://github.com/spring-projects/spring-boot/issues/2040

4 votes, 3 watchers

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.