Interface MigrationSet
-
public interface MigrationSetModels a set of migrations. Each individual migration is applied in a transaction.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static MigrationSetbuild(java.lang.String id, java.util.List<Migration> migrations)java.lang.Stringid()java.util.List<Migration>migrations()
-
-
-
Method Detail
-
id
java.lang.String id()
- Returns:
- the unique ID for this migration set
-
migrations
java.util.List<Migration> migrations()
- Returns:
- list of migrations in the order that they should be applied
-
build
static MigrationSet build(java.lang.String id, java.util.List<Migration> migrations)
-
-