go-gorm / postgres

GORM PostgreSQL driver
MIT License
234 stars 123 forks source link

feat: custom type implements autoIncrement #121

Closed ruanlang closed 2 years ago

ruanlang commented 2 years ago

User Case Description

ID int64 gorm:"column:id;type:bigint;primaryKey;autoIncrement:true" json:"id" https://github.com/go-gorm/gorm/issues/5505 @jinzhu @a631807682

ruanlang commented 2 years ago

@a631807682 help review

jimmyduang commented 2 years ago

@jinzhu boss,please merge

jinzhu commented 2 years ago

Hi @ruanlang

Can you change it like the mysql one?

Thank you.

ruanlang commented 2 years ago

@jinzhu please review

jimmyduang commented 2 years ago

@jinzhu boss,please release this pr,thx