fly4s.data.MigrationVersion.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fly4s_3 Show documentation
Show all versions of fly4s_3 Show documentation
A functional wrapper for Flywayy
The newest version!
package fly4s.data
import org.flywaydb.core.api.MigrationVersion as JMigrationVersion
object MigrationVersion {
val one: MigrationVersion = JMigrationVersion.fromVersion("1")
val empty: MigrationVersion = JMigrationVersion.EMPTY
val latest: MigrationVersion = JMigrationVersion.LATEST
val current: MigrationVersion = JMigrationVersion.CURRENT
def apply(version: String): MigrationVersion =
JMigrationVersion.fromVersion(version)
}