Compare commits
3 Commits
27b335a0af
...
3380f50cc7
| Author | SHA1 | Date | |
|---|---|---|---|
|
3380f50cc7
|
|||
|
b777eadd13
|
|||
|
bba1f2d63d
|
12
README.md
12
README.md
@@ -1,12 +1,6 @@
|
|||||||
# Ktor Plugin for Database Migration
|
# migration-ktor
|
||||||
|
|
||||||
This plugin enables code-based database migrations in Ktor using [Kotlin Database Migration](https://git.infendro.com/Infendro/kotlin-migration).
|
`migration-ktor` is a Kotlin library that enables code-based migrations in Ktor.
|
||||||
|
|
||||||
## Features
|
|
||||||
|
|
||||||
* Declare database migrations (identified by a unique name).
|
|
||||||
* Migrations are executed in the order they are declared in.
|
|
||||||
* Executed migrations are tracked in a database table and skipped on subsequent runs.
|
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
@@ -18,7 +12,7 @@ repositories {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation("com.infendro:ktor-migration:1.1.0")
|
implementation("com.infendro:ktor-migration:1.1.1")
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import com.infendro.plugin.infendro
|
|||||||
import com.infendro.plugin.token
|
import com.infendro.plugin.token
|
||||||
|
|
||||||
group = "com.infendro"
|
group = "com.infendro"
|
||||||
version = "1.1.0"
|
version = "1.1.1"
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
alias(libs.plugins.infendro)
|
alias(libs.plugins.infendro)
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
[versions]
|
[versions]
|
||||||
infendro = "1.0.0"
|
infendro = "1.0.0"
|
||||||
kotlin = "2.2.10"
|
kotlin = "2.2.21"
|
||||||
ktor = "3.2.3"
|
ktor = "3.3.3"
|
||||||
exposed = "0.61.0"
|
exposed = "0.61.0"
|
||||||
migration = "1.1.1"
|
migration = "1.1.1"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user