refactor migration

This commit is contained in:
Infendro committed 2025-08-31 11:22:41 +02:00
1 parent e9c2569973
commit 1338bbb7d1
3 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -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()
}
}