diff --git a/templates/main/singleton/boil_table_names.go.tpl b/templates/main/singleton/boil_table_names.go.tpl index a0952be6c..96415f136 100644 --- a/templates/main/singleton/boil_table_names.go.tpl +++ b/templates/main/singleton/boil_table_names.go.tpl @@ -4,6 +4,6 @@ var TableNames = struct { {{end}}{{end -}} }{ {{range $table := .Tables}}{{if not $table.IsView -}} - {{titleCase $table.Name}}: "{{$table.Name}}", + {{titleCase $table.Name}}: "{{$table.Name | $.SchemaTable}}", {{end}}{{end -}} }