Skip to content

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

Open
@aitimate

Description

@aitimate

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIt is confirmed a bug, but don't worry, we'll handle it.help wanted

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions