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 734477aaee)
This commit is contained in:
Travis Turner 2022-12-08 22:50:41 -06:00 committed by Joe Friedrich
parent c39e599086
commit c4532124e1

View file

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