fix: correct nullable field detection logic in column metadata
This commit is contained in:
parent
89d1238248
commit
7f13302944
|
@ -871,9 +871,9 @@ func (db *gbase8s) GetColumns(queryer core.Queryer, ctx context.Context, tableNa
|
||||||
}
|
}
|
||||||
|
|
||||||
if nullable != nil && *nullable == "N" {
|
if nullable != nil && *nullable == "N" {
|
||||||
col.Nullable = true
|
|
||||||
} else {
|
|
||||||
col.Nullable = false
|
col.Nullable = false
|
||||||
|
} else {
|
||||||
|
col.Nullable = true
|
||||||
}
|
}
|
||||||
if comment != nil {
|
if comment != nil {
|
||||||
col.Comment = *comment
|
col.Comment = *comment
|
||||||
|
|
Loading…
Reference in New Issue