From 507fe1637fc79fa3ce44f7602c689da31ea748ef Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Sun, 24 Dec 2023 12:44:51 +0800 Subject: [PATCH] :art: Add Relation column to database table view https://github.com/siyuan-note/siyuan/issues/9888 --- kernel/model/attribute_view.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/model/attribute_view.go b/kernel/model/attribute_view.go index e92d4ecad..795551b61 100644 --- a/kernel/model/attribute_view.go +++ b/kernel/model/attribute_view.go @@ -839,12 +839,12 @@ func updateAttributeViewColRelation(operation *Operation) (err error) { AvID: operation.ID, IsTwoWay: operation.IsTwoWay, } - if operation.IsTwoWay { srcRel.BackKeyID = operation.BackRelationKeyID } else { srcRel.BackKeyID = "" } + keyValues.Key.Relation = srcRel break }