Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for DecimalSize (0.05 sec)

  1. migrator/migrator.go

    		precision, scale, ok := columnType.DecimalSize()
    		if ok {
    			if !strings.HasPrefix(fullDataType, fmt.Sprintf("%s(%d,%d)", realDataType, precision, scale)) &&
    				!strings.HasPrefix(fullDataType, fmt.Sprintf("%s(%d)", realDataType, precision)) {
    				alterColumn = true
    			}
    		}
    	} else {
    		if precision, _, ok := columnType.DecimalSize(); ok && int64(field.Precision) != precision {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Jun 06 02:35:01 UTC 2025
    - 29.5K bytes
    - Viewed (0)
Back to top