diff options
author | Stewart Stewart <stewinsalot@gmail.com> | 2016-11-29 11:38:31 -0800 |
---|---|---|
committer | Stewart Stewart <stewinsalot@gmail.com> | 2016-11-29 11:38:31 -0800 |
commit | 1dd63c4715b6ff3485325715f94827e40b782347 (patch) | |
tree | a4ee03698889ee5534c60ca05f8e6cd130450faa /src | |
parent | 2e948d1ff4dee339a286bc559e534b55cf608358 (diff) | |
download | slick-codegen-plugin-1dd63c4715b6ff3485325715f94827e40b782347.tar.gz slick-codegen-plugin-1dd63c4715b6ff3485325715f94827e40b782347.tar.bz2 slick-codegen-plugin-1dd63c4715b6ff3485325715f94827e40b782347.zip |
compile error
Diffstat (limited to 'src')
-rw-r--r-- | src/main/scala/NamespacedCodegen.scala | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/scala/NamespacedCodegen.scala b/src/main/scala/NamespacedCodegen.scala index 0572811..4cc8054 100644 --- a/src/main/scala/NamespacedCodegen.scala +++ b/src/main/scala/NamespacedCodegen.scala @@ -126,8 +126,7 @@ class Generator(uri: URI, .map(_.code.mkString("\n")) .mkString("\n\n") val generatedSchema = s""" - |object ${schemaName} extends $schemaBaseClass { - | val profile = slick.backend.DatabaseConfig.forConfig("${uri.getFragment()}").profile + | val profile = slick.backend.DatabaseConfig.forConfig("${uri.getFragment()}").driver | import profile.api._ | ${tableCode} | |