diff --git a/pkg/collections/collection.go b/pkg/collections/collection.go index f46563d5fc23966ad04412dd5d19177687b95221..8c22f2637fdd70e6dc953ad7bbf776c5ebb4460f 100644 --- a/pkg/collections/collection.go +++ b/pkg/collections/collection.go @@ -90,7 +90,7 @@ type StateInfo struct { State State `json:"state" bson:"state"` Info string `json:"info" bson:"info"` StartedAt time.Time `json:"started_at,omitempty" bson:"started_at,omitempty"` - DBVersion uint32 `json:"-" bson:"-"` + DBVersion uint32 `json:"-" bson:"db_version"` } type State int