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

Postgres schemas are no longer in the table name consts #1203

Open
maguro opened this issue Sep 3, 2024 · 0 comments
Open

Postgres schemas are no longer in the table name consts #1203

maguro opened this issue Sep 3, 2024 · 0 comments

Comments

@maguro
Copy link

maguro commented Sep 3, 2024

GORM Playground Link

Happy to create a link if necessary.

Description

Previously, the TableName constants included the Postgres schema name that the tables belonged to. Now it seems that these schema names no longer prefix the table name.

Before

const TableNameExample = "some_schema.example"

After

const TableNameExample = "example"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant