aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/NamespacedCodegen.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/scala/NamespacedCodegen.scala')
-rw-r--r--src/main/scala/NamespacedCodegen.scala3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/scala/NamespacedCodegen.scala b/src/main/scala/NamespacedCodegen.scala
index affd36c..c545b80 100644
--- a/src/main/scala/NamespacedCodegen.scala
+++ b/src/main/scala/NamespacedCodegen.scala
@@ -24,6 +24,7 @@ object Generator {
manualForeignKeys: Map[(String, String), (String, String)],
parentType: Option[String],
idType: Option[String],
+ header: String,
schemaImports: List[String],
typeReplacements: Map[String, String]) = {
val dc: DatabaseConfig[JdbcProfile] =
@@ -54,6 +55,7 @@ object Generator {
manualForeignKeys,
parentType,
idType,
+ header,
schemaImports,
typeReplacements)
generator.writeToFile(profile = profile,
@@ -75,6 +77,7 @@ class Generator(pkg: String,
manualForeignKeys: Map[(String, String), (String, String)],
override val parentType: Option[String],
idType: Option[String],
+ override val headerComment: String,
schemaImports: List[String],
typeReplacements: Map[String, String])
extends SourceCodeGenerator(schemaOnlyModel)