diff options
-rw-r--r-- | src/main/scala/NamespacedCodegen.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/scala/NamespacedCodegen.scala b/src/main/scala/NamespacedCodegen.scala index ebee0c9..fb4910a 100644 --- a/src/main/scala/NamespacedCodegen.scala +++ b/src/main/scala/NamespacedCodegen.scala @@ -127,7 +127,7 @@ class Generator(uri: URI, .mkString("\n\n") val generatedSchema = s""" |object ${schemaName} extends { - | val profile = slick.backend.DatabaseConfig.forConfig("${uri.getFragment()}").driver + | val profile = slick.backend.DatabaseConfig.forConfig[slick.driver.JdbcProfile]("${uri.getFragment()}").driver |} with $schemaBaseClass { | import profile.api._ | ${tableCode} |