public class BugTracker0 extends ERXMigrationDatabase.Migration implements IERXPostMigration
ALLOWS_NULL, NOT_NULL
Constructor and Description |
---|
BugTracker0() |
Modifier and Type | Method and Description |
---|---|
void |
downgrade(com.webobjects.eocontrol.EOEditingContext editingContext,
ERXMigrationDatabase database) |
NSArray<ERXModelVersion> |
modelDependencies()
Overridden to return null by default
|
void |
postUpgrade(com.webobjects.eocontrol.EOEditingContext editingContext,
com.webobjects.eoaccess.EOModel model)
Called after executing all of the upgrade() migrations.
|
void |
upgrade(com.webobjects.eocontrol.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(com.webobjects.eocontrol.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(com.webobjects.eocontrol.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(com.webobjects.eocontrol.EOEditingContext editingContext, com.webobjects.eoaccess.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 – 2020 Project Wonder.