- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestForeignKeyConstraintsBelongsTo (0.18 sec)
-
tests/associations_test.go
t.Fatalf("Should not find deleted member") } if err := DB.First(&profile2, profile.ID).Error; err == nil { t.Fatalf("Should not find deleted profile") } } func TestForeignKeyConstraintsBelongsTo(t *testing.T) { tidbSkip(t, "not support the foreign key feature") type Profile struct { ID uint Name string Refer uint `gorm:"uniqueIndex"` } type Member struct {
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Fri Sep 12 04:33:27 UTC 2025 - 13.3K bytes - Viewed (0)