org.qi4j.migration.assembly
Interface EntityMigrationOperation
- All Known Implementing Classes:
- AddAssociation, AddManyAssociation, AddProperty, RemoveAssociation, RemoveManyAssociation, RemoveProperty, RenameAssociation, RenameEntity, RenameManyAssociation, RenameProperty
public interface EntityMigrationOperation
Migration operation for a specific entity.
upgrade
boolean upgrade(org.json.JSONObject state,
StateStore stateStore,
Migrator migrator)
throws org.json.JSONException
- Throws:
org.json.JSONException
downgrade
boolean downgrade(org.json.JSONObject state,
StateStore stateStore,
Migrator migrator)
throws org.json.JSONException
- Throws:
org.json.JSONException