Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for checkSchemaRelation (0.67 sec)

  1. schema/schema_helper_test.go

    }
    
    type Reference struct {
    	PrimaryKey    string
    	PrimarySchema string
    	ForeignKey    string
    	ForeignSchema string
    	PrimaryValue  string
    	OwnPrimaryKey bool
    }
    
    func checkSchemaRelation(t *testing.T, s *schema.Schema, relation Relation) {
    	t.Run("CheckRelation/"+relation.Name, func(t *testing.T) {
    		if r, ok := s.Relationships.Relations[relation.Name]; ok {
    			if r.Name != relation.Name {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Aug 28 02:57:17 UTC 2025
    - 7.5K bytes
    - Viewed (0)
Back to top