Merge http4k
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package be.simplenotes.persistance
|
||||
|
||||
import org.flywaydb.core.Flyway
|
||||
import javax.sql.DataSource
|
||||
|
||||
internal class DbMigrationsImpl(private val dataSource: DataSource) : DbMigrations {
|
||||
override fun migrate() {
|
||||
Flyway.configure()
|
||||
.dataSource(dataSource)
|
||||
.load()
|
||||
.migrate()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user