According to Play 2.6 documentation, Play-Slick should be used as follows:
import slick.driver.JdbcProfile
class Application @Inject() (
protected val dbConfigProvider: DatabaseConfigProvider,
cc: ControllerComponents
)(implicit ec: ExecutionContext)
extends AbstractController(cc) with HasDatabaseConfigProvider[JdbcProfile] {
Problem is that JdbcProfile
is deprecated in Slick 3.2.x, any ideas how to deal with this? Note that I'm migrating from Play 2.5 to 2.6.