- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestHasOneWithSameForeignKey (0.11 sec)
-
schema/relationship_test.go
Name: "User", Type: schema.BelongsTo, Schema: "UserAux", FieldSchema: "User", References: []Reference{ {"UUID", "User", "UUID", "UserAux", "", false}, }, }, ) } func TestHasOneWithSameForeignKey(t *testing.T) { type Profile struct { gorm.Model Name string ProfileRefer int // not used in relationship } type User struct { gorm.Model
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Apr 15 03:20:20 UTC 2024 - 25.5K bytes - Viewed (0)