2026-04-16 16:11:47 +00:00
2026-02-19 14:01:16 +01:00
2026-02-19 14:01:16 +01:00
2025-08-31 10:48:29 +02:00
2026-02-19 14:01:16 +01:00
2025-08-31 10:48:29 +02:00
2025-08-31 10:48:29 +02:00
2025-08-31 10:48:29 +02:00
2026-04-16 16:11:47 +00:00
2025-12-13 00:49:24 +01:00

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
No description provided
Readme 120 KiB
Languages
Kotlin 100%