Class CreateSeasonIndexesMigration

java.lang.Object
com.cotani.season.storage.CreateSeasonIndexesMigration
All Implemented Interfaces:
com.cotani.storage.migration.Migration

public final class CreateSeasonIndexesMigration extends Object implements com.cotani.storage.migration.Migration
Adds indexes used by season progress and operation lookups.
  • Constructor Details

    • CreateSeasonIndexesMigration

      public CreateSeasonIndexesMigration()
  • Method Details

    • version

      public int version()
      Specified by:
      version in interface com.cotani.storage.migration.Migration
    • description

      public String description()
      Specified by:
      description in interface com.cotani.storage.migration.Migration
    • migrate

      public CompletionStage<Void> migrate(com.cotani.storage.schema.Schema schema)
      Specified by:
      migrate in interface com.cotani.storage.migration.Migration