kotlin/space-events/src/main/kotlin/org/webhooks/db/DbInit.kt [8:21]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - fun initDbConnection() { // see application.conf file in resources val host = config.getString("postgresql.host") val port = config.getString("postgresql.port") val user = config.getString("postgresql.user") val password = config.getString("postgresql.password") val database = config.getString("postgresql.database") Database.connect( "jdbc:postgresql://$host:$port/$database", driver = "org.postgresql.Driver", user = user, password = password ) transaction { - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - kotlin/sync-api/src/main/kotlin/com/example/db/DbInit.kt [8:21]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - fun initDbConnection() { // see application.conf file in resources val host = config.getString("postgresql.host") val port = config.getString("postgresql.port") val user = config.getString("postgresql.user") val password = config.getString("postgresql.password") val database = config.getString("postgresql.database") Database.connect( "jdbc:postgresql://$host:$port/$database", driver = "org.postgresql.Driver", user = user, password = password ) transaction { - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -