Class CreateLocationTablesMigration

java.lang.Object
com.cotani.location.storage.CreateLocationTablesMigration
All Implemented Interfaces:
com.cotani.storage.migration.Migration

public final class CreateLocationTablesMigration extends Object implements com.cotani.storage.migration.Migration
Creates the SQL table used by StorageLocationRepository.
  • Constructor Details

    • CreateLocationTablesMigration

      public CreateLocationTablesMigration()
  • 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