mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-03-26 21:42:48 +01:00
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:
parent
c2fb5d2657
commit
dcb177b4a7
2 changed files with 3 additions and 4 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue