mirror of https://github.com/usbharu/Hideout.git
fix: プロパティ名間違えていたので修正
This commit is contained in:
parent
7f1aec3398
commit
ebbf153b9b
|
@ -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
|
||||
)
|
||||
|
|
|
@ -2,5 +2,5 @@ hideout:
|
|||
database:
|
||||
url: "jdbc:h2:./test;MODE=POSTGRESQL"
|
||||
driver: "org.h2.Driver"
|
||||
username: ""
|
||||
user: ""
|
||||
password: ""
|
||||
|
|
Loading…
Reference in New Issue