GORM Playground Link
https://github.com/go-gorm/playground/pull/1
Description
go.mod are discribed as below
gorm.io/driver/mysql v1.2.3
gorm.io/gorm v1.23.0
when compile binary, i got
# gorm.io/driver/mysql
vendor/gorm.io/driver/mysql/migrator.go:224:24: cannot use column (type Column) as type gorm.ColumnType in append:
Column does not implement gorm.ColumnType (missing AutoIncrement method)
after deleting go.sum and drop gorm version to 1.22.4, then rerun go mod vendor, this error vanish
Hoping get some ideas from devs
Comment From: github-actions[bot]
The issue has been automatically marked as stale as it missing playground pull request link, which is important to help others understand your issue effectively and make sure the issue hasn't been fixed on latest master, checkout https://github.com/go-gorm/playground for details. it will be closed in 30 days if no further activity occurs. if you are asking question, please use the Question template, most likely your question already answered https://github.com/go-gorm/gorm/issues or described in the document https://gorm.io ✨ Search Before Asking ✨
Comment From: jinzhu
upgrade mysql drivers
Comment From: EsonChurch
I solve it by update all relative package,it works:
go get gorm.io/gorm
go get gorm.io/driver/mysql
go get gorm.io/driver/sqlserver
go get gorm.io/driver/postgres
go mod vendor