-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The field names generated by "gf gen dao" have changed. v2.7.2 #3749
Comments
v2.7.3 can't reproduce the issue. Please you try usring new version or provide more information. Thanks! |
v2.7.3 has the same issue. hack/config.yaml like gfcli:
# 工具编译配置
build:
arch: "amd64"
system: "linux"
path: "./temp"
packSrc: ""
extra: '-tags timetzdata -ldflags="-s -w"'
mod: ""
cgo: 0
# dao生成
gen:
dao:
- link: "pgsql:[account]:[password]@tcp([host]:5432)/[database]"
removePrefix: ""
descriptionTag: true
noModelComment: true
daoPath: "repository/db/dao"
doPath: "repository/db/do"
entityPath: "repository/db/entity" |
I still can't reproduce the issue in PgSQL v14 and v16 in Linux. |
My database is MySQL |
please use mac os, and i think it can reproduce。 and my develop machine is mac book pro, m series chips. |
@zth1987 @livecopilot @oldme-git Guys, let me have a double check. |
Go version
go1.22.5 darwin/arm64
GoFrame version
2.7.2
Can this bug be reproduced with the latest release?
Option Yes
What did you do?
gf gen dao
What did you see happen?
What did you expect to see?
in gf v2.7.1 and other old version , it's ParentId, and I don't want make it change in v2.7.2。
The text was updated successfully, but these errors were encountered: