From c4532124e1bae79561aec560f71981f03dcb1ef4 Mon Sep 17 00:00:00 2001 From: Travis Turner Date: Thu, 8 Dec 2022 22:50:41 -0600 Subject: [PATCH] Add Table.Description, Table.CreatedAt, Field.CreatedAt support to SchemaAPI (#2340) * Thread Table.Description through SchemaAPI * Thread Table.CreatedAt through SchemaAPI * Thread Field.CreatedAt through SchemaAPI (cherry picked from commit 734477aaee772bba2aec48b41cfdde72864a847f) --- sql3/planner/opfeaturebasecolumns.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sql3/planner/opfeaturebasecolumns.go b/sql3/planner/opfeaturebasecolumns.go index 6794355d8..9e8aa23c3 100644 --- a/sql3/planner/opfeaturebasecolumns.go +++ b/sql3/planner/opfeaturebasecolumns.go @@ -154,8 +154,7 @@ func (i *showColumnsRowIter) Next(ctx context.Context) (types.Row, error) { if i.rowIndex < len(i.tbl.Fields) { fields := i.tbl.Fields - //tm := time.Unix(0, fields[i.rowIndex].CreatedAt) - tm := time.Unix(0, 0) + tm := time.Unix(0, fields[i.rowIndex].CreatedAt) row := []interface{}{ fields[i.rowIndex].Name,