fix: correct nullable field detection logic in column metadata

This commit is contained in:
zhangyunfei 2025-07-18 06:33:45 +00:00
parent 89d1238248
commit 7f13302944
1 changed files with 2 additions and 2 deletions

View File

@ -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