Interface Migration.MigrationAction
- Enclosing interface:
Migration
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Functional interface for migration actions.
This interface allows migrations to be defined using lambda expressions
with the Migration.of(int, String, Migration.MigrationAction) factory methods.
-
Method Summary
-
Method Details
-
migrate
Performs the migration.- Parameters:
context- the migration context- Throws:
MigrationException- if the migration fails
-