From 7f13302944c239bc3c027d99302e21c1447a5ebe Mon Sep 17 00:00:00 2001 From: zhangyunfei Date: Fri, 18 Jul 2025 06:33:45 +0000 Subject: [PATCH] fix: correct nullable field detection logic in column metadata --- dialects/gbase8s.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dialects/gbase8s.go b/dialects/gbase8s.go index 05ab7790..d3a8fd22 100644 --- a/dialects/gbase8s.go +++ b/dialects/gbase8s.go @@ -871,9 +871,9 @@ func (db *gbase8s) GetColumns(queryer core.Queryer, ctx context.Context, tableNa } if nullable != nil && *nullable == "N" { - col.Nullable = true - } else { col.Nullable = false + } else { + col.Nullable = true } if comment != nil { col.Comment = *comment