All checks were successful
/ publish (push) Successful in 1m15s
Reviewed-on: Infendro/migration-kt#2
migration-kt
migration-kt is a Kotlin library that enables code-based migrations.
Installation
Add the following to your build.gradle.kts.
repositories {
maven("https://git.infendro.com/api/packages/Infendro/maven")
}
dependencies {
implementation("com.infendro:migration:1.2.0")
}
Usage
fun configureDatabase() {
// connect to a database
Database.connect(/* parameters */)
// declare and execute migrations
migrate {
// create a migration
migration("initial") {
// execute code to migrate the database
}
}
}
Description
Languages
Kotlin
100%