Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

postgress error #5

Open
danchengash opened this issue Jun 12, 2023 · 0 comments
Open

postgress error #5

danchengash opened this issue Jun 12, 2023 · 0 comments

Comments

@danchengash
Copy link

Am getting this error using the latest gorm package

gorm.io/driver/postgres
../../go/pkg/mod/gorm.io/driver/postgres@v1.2.3/migrator.go:341:38: cannot use column (variable of type Column) as type gorm.ColumnType in argument to append:
Column does not implement gorm.ColumnType (missing AutoIncrement method)

gorm.io/driver/sqlite

../../go/pkg/mod/gorm.io/driver/sqlite@v1.2.6/sqlite.go:100:22: cannot convert 0 (untyped int constant) to *int
../../go/pkg/mod/gorm.io/driver/sqlite@v1.2.6/sqlite.go:101:24: cannot convert 0 (untyped int constant) to *int
../../go/pkg/mod/gorm.io/driver/sqlite@v1.2.6/sqlite.go:102:21: cannot use -1 (untyped int constant) as *int value in assignment
../../go/pkg/mod/gorm.io/driver/sqlite@v1.2.6/sqlite.go:104:50: cannot use limit.Limit (variable of type *int) as type int in argument to strconv.Itoa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant