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, upgradeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdowngrade, upgradepublic NSArray<ERXModelVersion> modelDependencies()
ERXMigrationDatabase.MigrationmodelDependencies in interface IERXMigrationmodelDependencies in class ERXMigrationDatabase.Migrationpublic void downgrade(com.webobjects.eocontrol.EOEditingContext editingContext,
ERXMigrationDatabase database)
throws Throwable
downgrade in class ERXMigrationDatabase.MigrationeditingContext - 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.MigrationeditingContext - 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
IERXPostMigrationpostUpgrade in interface IERXPostMigrationeditingContext - the editing context you can perform EO operations with.model - the model being upgradedThrowable - if something failsCopyright © 2002 – 2020 Project Wonder.