Module org.jooq
Package org.jooq

Interface Migrations

All Superinterfaces:
Scope

@Experimental public interface Migrations extends Scope
The experimental migrations API.

This is EXPERIMENTAL functionality and subject to change in future jOOQ versions.

Author:
Lukas Eder
  • Method Details

    • file

      @Experimental @NotNull @NotNull File file(String path, String content, ContentType type)
      Initialise a File

      This is EXPERIMENTAL functionality and subject to change in future jOOQ versions.

    • version

      @Experimental @NotNull @NotNull Version version(String id)
      Initialise a Version.

      This is EXPERIMENTAL functionality and subject to change in future jOOQ versions.

    • commits

      @Experimental @NotNull @NotNull Commits commits()
      Initialise an empty Commits graph.

      This is EXPERIMENTAL functionality and subject to change in future jOOQ versions.

    • history

      @Experimental @NotNull @NotNull History history()
      Retrieve the History of previously installed Version objects from the database.

      This is EXPERIMENTAL functionality and subject to change in future jOOQ versions.

    • migrateTo

      @Experimental @CheckReturnValue @NotNull @NotNull Migration migrateTo(Commit to)
      Create a migration from the currently installed version to a new version.

      This is EXPERIMENTAL functionality and subject to change in future jOOQ versions.