- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestPostgresOnConstraint (0.11 sec)
-
tests/postgres_test.go
Categories: []*Category{ {Title: "Coding"}, {Title: "Golang"}, }, } if err := DB.Create(&post).Error; err != nil { t.Errorf("Failed, got error: %v", err) } } func TestPostgresOnConstraint(t *testing.T) { if DB.Dialector.Name() != "postgres" { t.Skip() } type Thing struct { gorm.Model SomeID string OtherID string Data string }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sat Oct 08 09:16:32 UTC 2022 - 6.4K bytes - Viewed (0)