refactor migration
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
[versions]
|
[versions]
|
||||||
kotlin = "2.2.10"
|
kotlin = "2.2.10"
|
||||||
ktor = "3.2.3"
|
ktor = "3.2.3"
|
||||||
exposed = "0.60.0"
|
exposed = "0.61.0"
|
||||||
migration = "1.0.0"
|
migration = "1.0.2"
|
||||||
postgres = "42.7.5"
|
postgres = "42.7.5"
|
||||||
random = "1.0.0"
|
random = "1.0.0"
|
||||||
otp = "1.1.1"
|
otp = "1.1.1"
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ package com.infendro.account.config
|
|||||||
import com.infendro.account.model.Role
|
import com.infendro.account.model.Role
|
||||||
import com.infendro.account.model.repository.AccountRepository
|
import com.infendro.account.model.repository.AccountRepository
|
||||||
import com.infendro.account.util.SecureHasher
|
import com.infendro.account.util.SecureHasher
|
||||||
import com.infendro.migration.Migration
|
import com.infendro.ktor.migration.Migration
|
||||||
import io.ktor.server.application.*
|
import io.ktor.server.application.*
|
||||||
import org.jetbrains.exposed.sql.Database
|
import org.jetbrains.exposed.sql.Database
|
||||||
|
|
||||||
|
|||||||
@@ -11,9 +11,9 @@ import io.ktor.server.routing.*
|
|||||||
fun Application.configureRouting() {
|
fun Application.configureRouting() {
|
||||||
install(Resources)
|
install(Resources)
|
||||||
routing {
|
routing {
|
||||||
|
role()
|
||||||
access()
|
access()
|
||||||
account()
|
account()
|
||||||
role()
|
|
||||||
session()
|
session()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user