go-gorm / gen

Gen: Friendly & Safer GORM powered by Code Generation
https://gorm.io/gen/
MIT License
2.23k stars 293 forks source link

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

Open maguro opened 1 month ago

maguro commented 1 month ago

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"