mirror of
https://github.com/ent/ent.git
synced 2026-05-06 01:20:56 +03:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user