Class PendingDrops
java.lang.Object
io.ebeaninternal.dbmigration.model.PendingDrops
The migrations with pending un-applied drops.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a 'pending drops' changeSet for the given version.booleanappliedDropsFor(ChangeSet changeSet)All the pending drops for this migration version have been applied so we need to remove the (unsuppressed) pending drops for this version.migrationForVersion(String pendingVersion)Return the migration for the pending drops from a version.Return the list of versions with pending drops.voidregisterPendingHistoryDropColumns(ModelContainer newModel)Register pending drop columns on history tables to the new model.
-
Constructor Details
-
PendingDrops
public PendingDrops()
-
-
Method Details
-
add
Add a 'pending drops' changeSet for the given version. -
pendingDrops
Return the list of versions with pending drops. -
appliedDropsFor
All the pending drops for this migration version have been applied so we need to remove the (unsuppressed) pending drops for this version. -
migrationForVersion
Return the migration for the pending drops from a version.The value of version can be "next" to find the first un-applied pending drops.
-
registerPendingHistoryDropColumns
Register pending drop columns on history tables to the new model.
-