MCPcopy Index your code
hub / github.com/jOOQ/jOOQ / init

Method init

jOOQ/src/main/java/org/jooq/impl/MigrationImpl.java:650–657  ·  view source on GitHub ↗

Initialise the underlying Configuration with the jOOQ Migrations History.

(boolean baseline)

Source from the content-addressed store, hash-verified

648 * History.
649 */
650 final void init(boolean baseline) {
651 history.init();
652
653 MigrationContext ctx = migrationContext(baseline);
654 if (TRUE.equals(ctx.settings().isMigrationSchemataCreateSchemaIfNotExists()))
655 for (Schema schema : ctx.migratedSchemas())
656 dsl().createSchemaIfNotExists(schema).execute();
657 }
658
659 final Commit currentCommit() {
660 HistoryRecord currentRecord = history.currentHistoryRecord(true);

Callers 1

execute0Method · 0.95

Calls 8

migrationContextMethod · 0.95
migratedSchemasMethod · 0.95
equalsMethod · 0.65
settingsMethod · 0.65
executeMethod · 0.65
dslMethod · 0.65

Tested by

no test coverage detected