GORM Playground Link
https://github.com/go-gorm/playground/pull/489
Description
Since v1.23.7 of gorm.io/gorm AutoMigrate method fails for some type specifications. See Playground for reproduction, run with postgres dialect. Issue does not happen with v1.23.6
Comment From: a631807682
Although alter shouldn't be triggered, but error cause by here.
- Array []string `gorm:"type:TEXT[] NOT NULL"`
+ Array []string `gorm:"type:TEXT[];NOT NULL"`