Interface VersionAgnosticMigrationScript<T,​E extends VersionAgnosticMigrationEmbeddedStorageManager<?,​?>>

    • Method Detail

      • getTargetVersion

        MigrationVersion getTargetVersion()
        Returns:
        the version of the datastore after this script is executed.
      • migrate

        void migrate​(Context<T,​E> context)
        Execute logic to migrate the given datastore to a newer version of the store. After executing the getTargetVersion() is reached.
        Parameters:
        context - that holds necessary data for the migration