refactor(datatypes): remove redundant normalization function
This commit is contained in:
@@ -487,10 +487,6 @@ func extractTypeParts(col *models.Column) (baseType string, length, precision, s
|
|||||||
return typeName, length, precision, scale
|
return typeName, length, precision, scale
|
||||||
}
|
}
|
||||||
|
|
||||||
func normalizeType(value string) string {
|
|
||||||
return strings.ToLower(strings.TrimSpace(value))
|
|
||||||
}
|
|
||||||
|
|
||||||
func describeColumnType(col *models.Column) string {
|
func describeColumnType(col *models.Column) string {
|
||||||
if col == nil {
|
if col == nil {
|
||||||
return ""
|
return ""
|
||||||
|
|||||||
Reference in New Issue
Block a user