Skip to content

Commit 2f7730e

Browse files
author
A
committed
corrected whitespace
1 parent 590bacd commit 2f7730e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

db/schema.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func (s *Schema) ToErd(showIndex bool) string {
2828

2929
for _, table := range s.Tables {
3030
for _, foreignKey := range table.ForeignKeys {
31-
toTable := strings.ToLower(foreignKey.ToTable)
31+
toTable := strings.ToLower(foreignKey.ToTable)
3232
if tableNames.Contains(toTable) {
3333
lines = append(lines, fmt.Sprintf("%s }-- %s", table.Name, toTable))
3434
}

0 commit comments

Comments
 (0)