public class RenameProperty extends Object implements EntityMigrationOperation
Constructor and Description |
---|
RenameProperty(String fromProperty,
String toProperty) |
Modifier and Type | Method and Description |
---|---|
boolean |
downgrade(JSONObject state,
StateStore stateStore,
Migrator migrator) |
String |
toString() |
boolean |
upgrade(JSONObject state,
StateStore stateStore,
Migrator migrator) |
public boolean upgrade(JSONObject state, StateStore stateStore, Migrator migrator) throws JSONException
upgrade
in interface EntityMigrationOperation
JSONException
public boolean downgrade(JSONObject state, StateStore stateStore, Migrator migrator) throws JSONException
downgrade
in interface EntityMigrationOperation
JSONException