Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for copyableDataType (0.13 sec)

  1. schema/relationship.go

    			schema.err = fmt.Errorf("invalid polymorphic type %v for %v on field %s, missing primaryKey field",
    				relation.FieldSchema, schema, field.Name)
    			return
    		}
    
    		// use same data type for foreign keys
    		if copyableDataType(primaryKeyField.DataType) {
    			relation.Polymorphic.PolymorphicID.DataType = primaryKeyField.DataType
    		}
    		relation.Polymorphic.PolymorphicID.GORMDataType = primaryKeyField.GORMDataType
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Aug 18 11:44:52 UTC 2025
    - 23.1K bytes
    - Viewed (1)
Back to top