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