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