slick-pg
slick-pg copied to clipboard
code example in README.md is not usable as-is
Specifically the MyPostgresProfile snippet - to get this to work I had to make two changes:
import slick.basic.Capability
and
override protected def computeCapabilities: Set[Capability] =
super.computeCapabilities + slick.jdbc.JdbcCapabilities.insertOrUpdate
Running Slick 3.3.1 with Scala 2.12.7, if that matters. I can submit a pull request with this change but it wasn't clear to me if the current computeCapabilities
override would work with different versions - although I believe the import is required anyway.
@natechols well, why I don't think it's a matter?