public class BugTracker0 extends ERXMigrationDatabase.Migration implements IERXPostMigration
ALLOWS_NULL, NOT_NULL| Constructor and Description |
|---|
BugTracker0() |
| 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, 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(EOEditingContext editingContext, ERXMigrationDatabase database) throws java.lang.Throwable
downgrade in class ERXMigrationDatabase.MigrationeditingContext - the editing contextdatabase - the migration databasejava.lang.Throwable - if anything goes wrongIERXMigration#downgrade(EOEditingContext, EOAdaptorChannel, EOModel)public void upgrade(EOEditingContext editingContext, ERXMigrationDatabase database) throws java.lang.Throwable
upgrade in class ERXMigrationDatabase.MigrationeditingContext - the editing contextdatabase - the migration databasejava.lang.Throwable - if anything goes wrongIERXMigration#upgrade(EOEditingContext, EOAdaptorChannel, EOModel)public void postUpgrade(EOEditingContext editingContext, EOModel model) throws java.lang.Throwable
IERXPostMigrationpostUpgrade in interface IERXPostMigrationeditingContext - the editing context you can perform EO operations with.model - the model being upgradedjava.lang.Throwable - if something failsCopyright © 2002 – 2022 Project Wonder.