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, toVersion
public MigrationRule(String fromVersion, String toVersion, MigrationOperation operation)
public void upgrade(org.qi4j.spi.entitystore.helpers.StateStore stateStore, Migrator migrator) throws IOException
IOException
public void downgrade(org.qi4j.spi.entitystore.helpers.StateStore stateStore, Migrator migrator) throws IOException
IOException