go-gorm / postgres

GORM PostgreSQL driver
MIT License
234 stars 123 forks source link

AutoMigrate fails with `sql: expected 0 arguments, got 1` #131

Closed pierre-borckmans closed 2 years ago

pierre-borckmans commented 2 years ago

AutoMigrate fails with sql: expected 0 arguments, got 1 when Statement.Vars is null

danm1n commented 2 years ago

Thanks for this, saved me some time.