fix cmd gen pbentity for generating go orm files for database postgres (#3105)

This commit is contained in:
sam 2023-10-30 22:04:07 -04:00 committed by GitHub
parent 4903ef7887
commit 33c396fb74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
}