diff --git a/schema/config.hcl b/schema/config.hcl index f325fc40..cc4767f3 100644 --- a/schema/config.hcl +++ b/schema/config.hcl @@ -181,6 +181,12 @@ table "config_changes" { type = bool comment = "is_pushed when set to true indicates that the config changes has been pushed to upstream." } + column "inserted_at" { + null = false + type = timestamptz + default = sql("now()") + } + primary_key { columns = [column.id] } @@ -345,6 +351,11 @@ table "config_items" { null = true type = text } + column "inserted_at" { + null = false + type = timestamptz + default = sql("now()") + } primary_key { columns = [column.id] }