mirror of
https://gitee.com/johng/gf
synced 2026-06-06 16:21:40 +08:00
fix cmd gen pbentity for generating go orm files for database postgres (#3105)
This commit is contained in:
@ -198,7 +198,7 @@ func doGenPbEntityForArray(ctx context.Context, index int, in CGenPbEntityInput)
|
||||
if len(match) == 3 {
|
||||
gdb.AddConfigNode(tempGroup, gdb.ConfigNode{
|
||||
Type: gstr.Trim(match[1]),
|
||||
Link: gstr.Trim(match[2]),
|
||||
Link: in.Link,
|
||||
})
|
||||
db, _ = gdb.Instance(tempGroup)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user