Skip to content

Commit

Permalink
🎨 Supports multiple views for the database #9751
Browse files Browse the repository at this point in the history
  • Loading branch information
88250 committed Dec 1, 2023
1 parent 6804d4b commit d345bb9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernel/model/attribute_view.go
Original file line number Diff line number Diff line change
Expand Up @@ -739,6 +739,7 @@ func (tx *Transaction) doAddAttrViewView(operation *Operation) (ret *TxErr) {
view.Table.Columns = append(view.Table.Columns, &av.ViewTableColumn{ID: col.ID})
}

attrView.ViewID = view.ID
if err = av.SaveAttributeView(attrView); nil != err {
logging.LogErrorf("save attribute view [%s] failed: %s", avID, err)
return &TxErr{code: TxErrWriteAttributeView, msg: err.Error(), id: avID}
Expand Down

0 comments on commit d345bb9

Please sign in to comment.