Interface MigrationDAO


  • public interface MigrationDAO
    • Method Detail

      • getMaxVersion

        Optional<String> getMaxVersion()
                                throws org.jdbi.v3.core.statement.StatementException
        Throws:
        org.jdbi.v3.core.statement.StatementException
      • getMaxServerMigrationVersion

        Optional<String> getMaxServerMigrationVersion()
                                               throws org.jdbi.v3.core.statement.StatementException
        Throws:
        org.jdbi.v3.core.statement.StatementException
      • getVersionMigrationChecksum

        String getVersionMigrationChecksum​(String version)
                                    throws org.jdbi.v3.core.statement.StatementException
        Throws:
        org.jdbi.v3.core.statement.StatementException
      • upsertServerMigration

        void upsertServerMigration​(String version,
                                   String migrationFileName,
                                   String checksum)
      • upsertServerMigrationSQL

        void upsertServerMigrationSQL​(String version,
                                      String sqlStatement,
                                      String success)
      • getServerMigrationSQLWithVersion

        List<String> getServerMigrationSQLWithVersion​(String version)
      • checkIfQueryPreviouslyRan

        String checkIfQueryPreviouslyRan​(String checksum)