public class BugTracker1 extends ERXMigrationDatabase.Migration implements IERXPostMigration
ALLOWS_NULL, NOT_NULL
Constructor and Description |
---|
BugTracker1() |
Modifier and Type | Method and Description |
---|---|
void |
downgrade(EOEditingContext editingContext,
ERXMigrationDatabase database) |
NSArray<ERXModelVersion> |
modelDependencies()
Overridden to return null by default
|
void |
postUpgrade(EOEditingContext editingContext,
EOModel model)
Called after executing all of the upgrade() migrations.
|
void |
upgrade(EOEditingContext editingContext,
ERXMigrationDatabase database) |
downgrade, languages, upgrade
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
downgrade, upgrade
public NSArray<ERXModelVersion> modelDependencies()
ERXMigrationDatabase.Migration
modelDependencies
in interface IERXMigration
modelDependencies
in class ERXMigrationDatabase.Migration
public void downgrade(EOEditingContext editingContext, ERXMigrationDatabase database) throws Throwable
downgrade
in class ERXMigrationDatabase.Migration
editingContext
- the editing contextdatabase
- the migration databaseThrowable
- if anything goes wrongIERXMigration.downgrade(EOEditingContext, EOAdaptorChannel, EOModel)
public void upgrade(EOEditingContext editingContext, ERXMigrationDatabase database) throws Throwable
upgrade
in class ERXMigrationDatabase.Migration
editingContext
- the editing contextdatabase
- the migration databaseThrowable
- if anything goes wrongIERXMigration.upgrade(EOEditingContext, EOAdaptorChannel, EOModel)
public void postUpgrade(EOEditingContext editingContext, EOModel model) throws Throwable
IERXPostMigration
postUpgrade
in interface IERXPostMigration
editingContext
- the editing context you can perform EO operations with.model
- the model being upgradedThrowable
- if something failsCopyright © 2002 – 2024 Project Wonder.