Skip to content
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

hack/dao: gf gen dao merged same name tables in multi-schemas #3934

Open
aitimate opened this issue Nov 19, 2024 · 2 comments
Open

hack/dao: gf gen dao merged same name tables in multi-schemas #3934

aitimate opened this issue Nov 19, 2024 · 2 comments
Labels
bug It is confirmed a bug, but don't worry, we'll handle it. help wanted

Comments

@aitimate
Copy link

aitimate commented Nov 19, 2024

Go version

go version go1.23.2 windows/amd64

GoFrame version

2.8.0

Can this bug be reproduced with the latest release?

Option No

What did you do?

	gf gen dao

What did you see happen?

gf gen dao merged the fields of tables with the same name across multiple schemas in my PostgreSQL database into a single table, causing all subsequent DAO operations to fail. (POSTGRESS)

What did you expect to see?

I would like to restrict the schema name, such as adding a configuration to prefix it with public.

@aitimate aitimate added the bug It is confirmed a bug, but don't worry, we'll handle it. label Nov 19, 2024
Copy link

Hello @aitimate. We like your proposal/feedback and would appreciate a contribution via a Pull Request by you or another community member. We thank you in advance for your contribution and are looking forward to reviewing it!
你好 @aitimate。我们喜欢您的提案/反馈,并希望您或其他社区成员通过拉取请求做出贡献。我们提前感谢您的贡献,并期待对其进行审查。

@gqcn
Copy link
Member

gqcn commented Nov 20, 2024

@aitimate Please provide the table creation sql and the cli configuration, which will be helpful for this issue resolving.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug It is confirmed a bug, but don't worry, we'll handle it. help wanted
Projects
None yet
Development

No branches or pull requests

2 participants