Class PendingDrops

java.lang.Object
io.ebeaninternal.dbmigration.model.PendingDrops

public class PendingDrops extends Object
The migrations with pending un-applied drops.
  • Constructor Details

  • Method Details

    • add

      public void add(io.ebean.migration.MigrationVersion version, ChangeSet changeSet)
      Add a 'pending drops' changeSet for the given version.
    • pendingDrops

      Return the list of versions with pending drops.
    • appliedDropsFor

      public boolean appliedDropsFor(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

      public Migration migrationForVersion(String pendingVersion)
      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.