diff --git a/clients/shared/utils.go b/clients/shared/utils.go index e80e17a76..1b7022053 100644 --- a/clients/shared/utils.go +++ b/clients/shared/utils.go @@ -44,7 +44,8 @@ func DefaultValue(column columns.Column, dialect sql.Dialect, additionalDateFmts return nil, fmt.Errorf("colVal is not type *decimal.Decimal") } - return val.String(), nil + // TODO: Call [String] instead. + return val.Value(), nil case typing.String.Kind: return sql.QuoteLiteral(fmt.Sprint(column.DefaultValue())), nil }