Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for User_refer_id (0.12 sec)

  1. schema/relationship_test.go

    	}, Relation{
    		Name: "Profiles2", Type: schema.Many2Many, Schema: "User", FieldSchema: "Profile",
    		JoinTable: JoinTable{Name: "user_profiles2", Table: "user_profiles2"},
    		References: []Reference{
    			{"Refer", "User", "User_refer_id", "user_profiles2", "", true},
    			{"UserRefer", "Profile", "Profile_refer", "user_profiles2", "", false},
    		},
    	})
    }
    
    func TestMany2ManyOverrideForeignKey(t *testing.T) {
    	type Profile struct {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 25.5K bytes
    - Viewed (0)
Back to top