Skip to content

Commit 9fbc47b

Browse files
committed
[ga-format-pr] Run ./format_repo.sh to fix formatting
1 parent f19506d commit 9fbc47b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sql/columndefault.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,12 +227,12 @@ func (e *ColumnDefaultValue) CheckType(ctx *Context) error {
227227
if val == nil && !e.ReturnNil {
228228
return ErrIncompatibleDefaultType.New()
229229
}
230-
230+
231231
// For enum literal defaults, use stricter validation than runtime conversion
232232
if enumType, isEnum := e.OutType.(EnumType); isEnum {
233233
return e.validateEnumLiteralDefault(enumType, val)
234234
}
235-
235+
236236
_, inRange, err := e.OutType.Convert(ctx, val)
237237
if err != nil {
238238
return ErrIncompatibleDefaultType.Wrap(err)

0 commit comments

Comments
 (0)