Update slick, slick-hikaricp to 3.5.0 (#5461)

* Update slick, slick-hikaricp to 3.5.0

* Fix compile

---------

Co-authored-by: Chris Stewart <stewart.chris1234@gmail.com>
This commit is contained in:
Scala Steward 2024-03-08 17:14:20 +01:00 committed by GitHub
parent c2fb5d2657
commit dcb177b4a7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 4 deletions

View file

@ -2,7 +2,7 @@ package org.bitcoins.db
import grizzled.slf4j.Logging
import slick.basic.DatabaseConfig
import slick.jdbc.JdbcProfile
import slick.jdbc.{JdbcBackend, JdbcProfile}
import scala.concurrent.duration.Duration
@ -18,12 +18,11 @@ trait JdbcProfileComponent[+ConfigType <: DbAppConfig] extends Logging {
}
lazy val profile: JdbcProfile = dbConfig.profile
import profile.api._
lazy val numThreads: Int = dbConfig.config.getInt("db.numThreads")
/** The database we are connecting to */
lazy val database: Database = {
lazy val database: JdbcBackend#Database = {
dbConfig.db
}

View file

@ -40,7 +40,7 @@ object Deps {
val postgresV = "42.7.2" //https://jdbc.postgresql.org/
val akkaActorV = akkaStreamv
val slickV = "3.4.1"
val slickV = "3.5.0"
val sqliteV = "3.45.1.0" //https://github.com/xerial/sqlite-jdbc
val scalameterV = "0.17"