public class MigrationRule extends AbstractMigrationRule
fromVersion, toVersion| Constructor and Description |
|---|
MigrationRule(String fromVersion,
String toVersion,
MigrationOperation operation) |
| Modifier and Type | Method and Description |
|---|---|
void |
downgrade(org.qi4j.spi.entitystore.helpers.StateStore stateStore,
Migrator migrator) |
String |
toString() |
void |
upgrade(org.qi4j.spi.entitystore.helpers.StateStore stateStore,
Migrator migrator) |
fromVersion, toVersionpublic MigrationRule(String fromVersion, String toVersion, MigrationOperation operation)
public void upgrade(org.qi4j.spi.entitystore.helpers.StateStore stateStore,
Migrator migrator)
throws IOException
IOExceptionpublic void downgrade(org.qi4j.spi.entitystore.helpers.StateStore stateStore,
Migrator migrator)
throws IOException
IOException