internal/github: clarify documention on db event keys
Namely, Type is not used in the key.
Change-Id: I210df2605cf308b267e92ea7f2e244acfa4cfee8
Reviewed-on: https://go-review.googlesource.com/c/oscar/+/608736
Reviewed-by: Russ Cox <rsc@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
diff --git a/internal/github/sync.go b/internal/github/sync.go
index f36fad5..5ad3c29 100644
--- a/internal/github/sync.go
+++ b/internal/github/sync.go
@@ -38,8 +38,8 @@
// This package stores the following key schemas in the database:
//
// ["github.SyncProject", Project] => JSON of projectSync structure
-// ["github.Event", Project, Issue, Type, API, ID] => [DBTime, Raw(JSON)]
-// ["github.EventByTime", DBTime, Project, Issue, Type, API, ID] => []
+// ["github.Event", Project, Issue, API, ID] => [DBTime, Raw(JSON)]
+// ["github.EventByTime", DBTime, Project, Issue, API, ID] => []
//
// To reconstruct the history of a given issue, scan for keys from
// ["github.Event", Project, Issue] to ["github.Event", Project, Issue, ordered.Inf].