add base to FieldOptions.String

This commit is contained in:
Matthew Jaffee 2022-05-28 12:24:04 -05:00 • committed by Matthew Jaffee
parent 98cb763499
commit 96f589ce24

View file

@ -826,12 +826,12 @@ func (fo FieldOptions) String() string {
case FieldTypeInt:
mopt["min"] = fo.min
mopt["max"] = fo.max
// TODO add base
mopt["base"] = fo.base
case FieldTypeDecimal:
mopt["min"] = fo.min
mopt["max"] = fo.max
mopt["scale"] = fo.scale
// TODO add base?
mopt["base"] = fo.base
case FieldTypeTime:
mopt["timeQuantum"] = string(fo.timeQuantum)
mopt["noStandardView"] = fo.noStandardView