Failed to convert column from text[] to JSON or JSONB
Open
- Dominant language
- Go
- Stars
- 297
- Forks
- 155
- Avg merge
- 27m
- Merged PRs (30d)
- 2
Description
## GORM Playground Link
TBD
## Description
When migrating a column originally mapped using [pq.StringArray](https://pkg.go.dev/github.com/lib/pq#StringArray) to [datatypes.JSONSlices[string]](https://pkg.go.dev/gorm.io/datatypes#JSONSlice) the AutoMigrator gives the following error: `cannot cast type text[] to jsonb`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.