fix: プロパティ名間違えていたので修正

This commit is contained in:
usbharu 2023-08-18 13:36:18 +09:00
parent 7f1aec3398
commit ebbf153b9b
2 changed files with 5 additions and 5 deletions

View File

@ -18,8 +18,8 @@ class DatabaseConfig {
return Database.connect(
url = dbConfig.url,
driver = dbConfig.driver,
user = dbConfig.user ?: "",
password = dbConfig.password ?: ""
user = dbConfig.user,
password = dbConfig.password
)
}
@ -30,6 +30,6 @@ class DatabaseConfig {
data class DatabaseConnectConfig(
val url: String,
val driver: String,
val user: String?,
val password: String?
val user: String,
val password: String
)

View File

@ -2,5 +2,5 @@ hideout:
database:
url: "jdbc:h2:./test;MODE=POSTGRESQL"
driver: "org.h2.Driver"
username: ""
user: ""
password: ""