Skip to content

Commit

Permalink
feat(internal/database): add column anchored to feature_group_revision
Browse files Browse the repository at this point in the history
  • Loading branch information
jinghancc committed Nov 8, 2021
1 parent 9d7d730 commit cbaf4a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions internal/database/metadata/postgres/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ var META_TABLE_SCHEMAS = map[string]string{
group_name VARCHAR(32) NOT NULL,
revision BIGINT NOT NULL,
data_table VARCHAR(64) NOT NULL,
anchored boolean NOT NULL,
description VARCHAR(64) DEFAULT '',
create_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
Expand Down
1 change: 1 addition & 0 deletions pkg/oomstore/types/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ type Revision struct {
Revision int64 `db:"revision"`
GroupName string `db:"group_name"`
DataTable string `db:"data_table"`
Anchored bool `db:"anchored"`

Description string `db:"description"`
CreateTime time.Time `db:"create_time"`
Expand Down

0 comments on commit cbaf4a1

Please sign in to comment.