dialect/sql/schema: resource positions: remove unnecessary function a… (#4391)

* dialect/sql/schema: resource positions: remove unnecessary function argument

* fix linter
This commit is contained in:
Jannik Clausen
2025-05-21 15:19:30 +02:00
committed by GitHub
parent c12502dba5
commit eec2a183c0
2 changed files with 3 additions and 6 deletions

View File

@@ -647,9 +647,7 @@ func Dump(ctx context.Context, dialect, version string, tables []*Table, opts ..
}
return ""
}(),
func() string {
return t.Name
}(),
t.Name,
func() string {
if t.View {
return "view"