Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for beDependedOn (0.06 sec)

  1. migrator/migrator.go

    				}
    
    				if rel.Type == schema.HasOne || rel.Type == schema.HasMany {
    					beDependedOn[rel.FieldSchema] = true
    				}
    
    				if rel.JoinTable != nil {
    					// append join value
    					defer func(rel *schema.Relationship, joinValue interface{}) {
    						if !beDependedOn[rel.FieldSchema] {
    							dep.Depends = append(dep.Depends, rel.FieldSchema)
    						} else {
    Registered: Sun Oct 27 09:35:08 UTC 2024
    - Last Modified: Fri Apr 26 07:15:49 UTC 2024
    - 29K bytes
    - Viewed (0)
Back to top