From 96f589ce24b88a098f00827c659d1be27b5949f8 Mon Sep 17 00:00:00 2001 From: Matthew Jaffee Date: Sat, 28 May 2022 12:24:04 -0500 Subject: [PATCH] add base to FieldOptions.String --- client/orm.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/orm.go b/client/orm.go index eeaf09bf2..d589eba17 100644 --- a/client/orm.go +++ b/client/orm.go @@ -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