fun DbSetup.launchWith(tracker: DbSetupTracker): UnitExtension function of DbSetup allowing to launch it with a tracker. This allows launching the setup in an easier way.
Instead of doing
val theSetup = dbSetup {
...
}
tracker.launchIfNecessary(theSetup)you can simply do
dbSetup {
...
}.launchWith(tracker)tracker - the tracker used to launch the DbSetup, if necessary.Author
JB Nizet