support schema initialize naming in a backwards compatible way
This commit is contained in:
parent
c27dfdff51
commit
e0a2b9a179
|
@ -57,6 +57,13 @@ public class Builder {
|
|||
return this;
|
||||
}
|
||||
|
||||
public Builder initializeSchema(String theVersion, String theSchemaName, ISchemaInitializationProvider theSchemaInitializationProvider) {
|
||||
InitializeSchemaTask task = new InitializeSchemaTask(myRelease, theVersion, theSchemaInitializationProvider);
|
||||
task.setDescription("Initialize " + theSchemaName + " schema");
|
||||
mySink.addTask(task);
|
||||
return this;
|
||||
}
|
||||
|
||||
public Builder executeRawSql(String theVersion, DriverTypeEnum theDriver, @Language("SQL") String theSql) {
|
||||
mySink.addTask(new ExecuteRawSqlTask(myRelease, theVersion).addSql(theDriver, theSql));
|
||||
return this;
|
||||
|
|
Loading…
Reference in New Issue