From a487ebabc74f76de816ebb45ba331b9712e6cf42 Mon Sep 17 00:00:00 2001 From: Nathan <148575555+nathan-artie@users.noreply.github.com> Date: Wed, 26 Jun 2024 11:15:02 -0700 Subject: [PATCH] Revert --- clients/shared/utils.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 }