Skip to content

Commit

Permalink
PR FIXUP - Update SchemaRootKey documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewSisley committed Feb 12, 2024
1 parent 098ba11 commit af16fc7
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions core/key.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,12 +149,9 @@ type SchemaVersionKey struct {

var _ Key = (*SchemaVersionKey)(nil)

// SchemaRootKey holds the pathway through the schema version history for
// any given schema.
// SchemaRootKey indexes schema version ids by their root schema id.
//
// The key points to the schema version id of the next version of the schema.
// If a SchemaHistoryKey does not exist for a given SchemaVersionID it means
// that that SchemaVersionID is for the latest version.
// The index is the key, there are no values stored against the key.
type SchemaRootKey struct {
SchemaRoot string
SchemaVersionID string
Expand Down

0 comments on commit af16fc7

Please sign in to comment.