Class CreateAuditTablesMigration

java.lang.Object
com.cotani.audit.storage.CreateAuditTablesMigration
All Implemented Interfaces:
com.cotani.storage.migration.Migration

public final class CreateAuditTablesMigration extends Object implements com.cotani.storage.migration.Migration
Creates the append-only table used by the SQL audit repository.
  • Constructor Details

    • CreateAuditTablesMigration

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