chore: format code

This commit is contained in:
2024-10-17 13:02:19 +08:00
parent 2ac27d29e7
commit bbb552dc14
1 file changed
+1 -1
@@ -31,7 +31,7 @@ suspend fun initDatabase() {
if (configManager.dbConfig.type == DatabaseType.MySQL) {
Database.connect("jdbc:mysql://${host}:${port}/$database", "com.mysql.cj.jdbc.Driver", user, password)
} else if (configManager.dbConfig.type == DatabaseType.PostgreSQL) {
Database.connect("jdbc:postgresql://$host:$port/$database", driver = "org.postgresql.Driver", user, password)
Database.connect("jdbc:postgresql://$host:$port/$database", "org.postgresql.Driver", user, password)
} else {
Database.connect("jdbc:sqlite:file:$ROOT_PATH/data.sqlite", "org.sqlite.JDBC")
}