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(
|
return Database.connect(
|
||||||
url = dbConfig.url,
|
url = dbConfig.url,
|
||||||
driver = dbConfig.driver,
|
driver = dbConfig.driver,
|
||||||
user = dbConfig.user ?: "",
|
user = dbConfig.user,
|
||||||
password = dbConfig.password ?: ""
|
password = dbConfig.password
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -30,6 +30,6 @@ class DatabaseConfig {
|
||||||
data class DatabaseConnectConfig(
|
data class DatabaseConnectConfig(
|
||||||
val url: String,
|
val url: String,
|
||||||
val driver: String,
|
val driver: String,
|
||||||
val user: String?,
|
val user: String,
|
||||||
val password: String?
|
val password: String
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,5 +2,5 @@ hideout:
|
||||||
database:
|
database:
|
||||||
url: "jdbc:h2:./test;MODE=POSTGRESQL"
|
url: "jdbc:h2:./test;MODE=POSTGRESQL"
|
||||||
driver: "org.h2.Driver"
|
driver: "org.h2.Driver"
|
||||||
username: ""
|
user: ""
|
||||||
password: ""
|
password: ""
|
||||||
|
|
Loading…
Reference in New Issue