From ecdf3e0a0b40de1106bb4949a85efea4d34b8f46 Mon Sep 17 00:00:00 2001 From: Markus Wiegand Date: Wed, 10 Feb 2021 17:59:32 +0100 Subject: [PATCH] add key usages --- model/item/kind_key.go | 1 + 1 file changed, 1 insertion(+) diff --git a/model/item/kind_key.go b/model/item/kind_key.go index 95479d9..06673ee 100644 --- a/model/item/kind_key.go +++ b/model/item/kind_key.go @@ -10,4 +10,5 @@ type Key struct { Item `bson:",inline"` Location string `json:"location" bson:"location"` + Usages int64 `json:"usages,omitempty" bson:"usages,omitempty"` }