From 4c7428d9951f7afcffea7bf71c6e5f2ca9ce4acf Mon Sep 17 00:00:00 2001 From: xuwei-k <6b656e6a69@gmail.com> Date: Sat, 14 Sep 2024 07:06:18 +0900 Subject: [PATCH] update slick --- src/main/g8/default.properties | 2 +- src/main/g8/src/main/scala/DogRun.scala | 2 +- src/main/g8/src/main/scala/SlickSetup.scala | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/g8/default.properties b/src/main/g8/default.properties index 7fa1c44..1105d32 100644 --- a/src/main/g8/default.properties +++ b/src/main/g8/default.properties @@ -1,5 +1,5 @@ name=Slick Web App unfiltered_version = maven(ws.unfiltered, unfiltered_2.13, stable) scala_version = maven(org.scala-lang, scala-library, stable) -slick_version = 3.4.1 +slick_version = 3.5.1 sbt_version = maven(org.scala-sbt, sbt, stable) diff --git a/src/main/g8/src/main/scala/DogRun.scala b/src/main/g8/src/main/scala/DogRun.scala index 618b45a..9981189 100644 --- a/src/main/g8/src/main/scala/DogRun.scala +++ b/src/main/g8/src/main/scala/DogRun.scala @@ -1,6 +1,6 @@ package com.example -import slick.driver.H2Driver.api._ +import slick.jdbc.H2Profile.api._ import unfiltered.request._ import unfiltered.response._ import unfiltered.directives._ diff --git a/src/main/g8/src/main/scala/SlickSetup.scala b/src/main/g8/src/main/scala/SlickSetup.scala index 8f67d19..caefed1 100644 --- a/src/main/g8/src/main/scala/SlickSetup.scala +++ b/src/main/g8/src/main/scala/SlickSetup.scala @@ -1,6 +1,6 @@ package com.example -import slick.driver.H2Driver.api._ +import slick.jdbc.H2Profile.api._ import com.mchange.v2.c3p0.ComboPooledDataSource import scala.concurrent.{Await, Future}