diff options
Diffstat (limited to 'src/main/scala')
-rw-r--r-- | src/main/scala/NamespacedCodegen.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/scala/NamespacedCodegen.scala b/src/main/scala/NamespacedCodegen.scala index 4cc8054..ebee0c9 100644 --- a/src/main/scala/NamespacedCodegen.scala +++ b/src/main/scala/NamespacedCodegen.scala @@ -126,7 +126,9 @@ class Generator(uri: URI, .map(_.code.mkString("\n")) .mkString("\n\n") val generatedSchema = s""" + |object ${schemaName} extends { | val profile = slick.backend.DatabaseConfig.forConfig("${uri.getFragment()}").driver + |} with $schemaBaseClass { | import profile.api._ | ${tableCode} | |