Class DirectorySchemaManager

java.lang.Object
dev.agenor.adapters.persistence.directory.DirectorySchemaManager

public final class DirectorySchemaManager extends Object
Runs Flyway migrations for the agent directory schema on startup.

History is kept in agenor_directory_schema_history, so the directory can share a database with the HITL queue and with an application's own schema; see SchemaMigrations.

Since:
0.22.0
  • Constructor Details

    • DirectorySchemaManager

      public DirectorySchemaManager(DataSource dataSource, String migrationLocation)
  • Method Details

    • migrate

      public void migrate()