go-gorm / postgres

GORM PostgreSQL driver
MIT License
228 stars 120 forks source link

refactor: distinguish between Unique and UniqueIndex #195

Closed black-06 closed 7 months ago

black-06 commented 1 year ago

What did this pull request do?

See https://github.com/go-gorm/gorm/issues/6381.

tested with https://github.com/go-gorm/gorm/pull/6386

User Case Description

black-06 commented 7 months ago

we need to revert the https://github.com/go-gorm/postgres/pull/195 relative code first, both in postgress and gorm. @black-06

because its breaking change? But we have to do/fix this sooner or later

jasonchuan commented 7 months ago

ok let's try to fix it

black-06 commented 7 months ago

ok let's try to fix it

yes I'm doing 😰