- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for TestParseIndexWithUniqueIndexAndUnique (0.3 seconds)
-
schema/index_test.go
}, { Field: &schema.Field{Name: "Data2A"}, }, { Field: &schema.Field{Name: "Data2B"}, }}, }, } CheckIndices(t, results, user.ParseIndexes()) } func TestParseIndexWithUniqueIndexAndUnique(t *testing.T) { type IndexTest struct { FieldA string `gorm:"unique;index"` // unique and index FieldB string `gorm:"unique"` // uniqueCreated: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Dec 06 02:27:44 GMT 2024 - 7.9K bytes - Click Count (0)