aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/Generators.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/scala/Generators.scala')
-rw-r--r--src/main/scala/Generators.scala8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/scala/Generators.scala b/src/main/scala/Generators.scala
index fb75cc1..7138a3c 100644
--- a/src/main/scala/Generators.scala
+++ b/src/main/scala/Generators.scala
@@ -11,8 +11,8 @@ class RowSourceCodeGenerator(
manualForeignKeys: Map[(String, String), (String, String)],
typeReplacements: Map[String, String]
) extends TypedIdSourceCodeGenerator(
- model,
- fullDatabaseModel,
+ singleSchemaModel = model,
+ databaseModel = fullDatabaseModel,
idType,
manualForeignKeys
)
@@ -48,8 +48,8 @@ class TableSourceCodeGenerator(
override val parentType: Option[String],
idType: Option[String],
typeReplacements: Map[String, String])
- extends TypedIdSourceCodeGenerator(schemaOnlyModel,
- fullDatabaseModel,
+ extends TypedIdSourceCodeGenerator(singleSchemaModel = schemaOnlyModel,
+ databaseModel = fullDatabaseModel,
idType,
manualForeignKeys)
with TableOutputHelpers {