go-gorm / postgres

GORM PostgreSQL driver
MIT License
234 stars 123 forks source link

fix: change DefaultValueValue to the same as other drivers #222

Closed MrChaos1993 closed 1 year ago

MrChaos1993 commented 1 year ago

What did this pull request do?

Same behavior as in other drivers.

https://github.com/go-gorm/mysql/blob/master/migrator.go#L296 https://github.com/go-gorm/sqlite/blob/master/ddlmod.go#L146

relation to https://github.com/go-gorm/gorm/pull/6579

discussion: https://github.com/go-gorm/postgres/pull/211#discussion_r1357809828

User Case Description

black-06 commented 1 year ago

Let's merge it