- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for NestedTextArray (0.12 sec)
-
tests/migrate_test.go
return } type ArrayTypeModel struct { ID uint Number string `gorm:"type:varchar(51);NOT NULL"` TextArray []string `gorm:"type:text[];NOT NULL"` NestedTextArray [][]string `gorm:"type:text[][]"` NestedIntArray [][]int64 `gorm:"type:integer[3][3]"` } var err error DB.Migrator().DropTable(&ArrayTypeModel{}) err = DB.AutoMigrate(&ArrayTypeModel{})
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Mar 18 11:24:16 UTC 2024 - 56.2K bytes - Viewed (0)