Skip to content

ENH: support for specifying a min-version to enforce certain migration paths#72

Merged
rbygrave merged 1 commit intoebean-orm:masterfrom
FOCONIS:feature/min-version-support
Oct 5, 2019
Merged

ENH: support for specifying a min-version to enforce certain migration paths#72
rbygrave merged 1 commit intoebean-orm:masterfrom
FOCONIS:feature/min-version-support

Conversation

@rPraml
Copy link
Contributor

@rPraml rPraml commented Oct 1, 2019

This feature supports a minversion in MigrationConfig to enforce certain migration paths.

This allows you, to delete older migration scripts/java-migration-routines if you want to drop support for these (e.g. for scripts based on user stored procedures) and enforce a certain path in the same time.

Example. Put this in your 2.12 app:

dbmigration.minVersion=2.9
dbmigration.minVersionFailMessage=This app requires a minimum version of 2.9, 2.10 or 2.11 installed first.

@rbygrave rbygrave changed the title support for specifying a min-version to enforce certain migration paths ENH: support for specifying a min-version to enforce certain migration paths Oct 5, 2019
rbygrave added a commit that referenced this pull request Oct 5, 2019
@rbygrave rbygrave merged commit 7065f72 into ebean-orm:master Oct 5, 2019
@rbygrave rbygrave added this to the 11.22.1 milestone Oct 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants