fix comments on metadata schema
Signed-off-by: Iceber Gu <wei.cai-nat@daocloud.io>
This commit is contained in:
parent
42c6be80e3
commit
8d95f2b599
@ -44,10 +44,15 @@
|
|||||||
//
|
//
|
||||||
// Below is the current database schema. This should be updated each time
|
// Below is the current database schema. This should be updated each time
|
||||||
// the structure is changed in addition to adding a migration and incrementing
|
// the structure is changed in addition to adding a migration and incrementing
|
||||||
// the database version. Note that `╘══*...*` refers to maps with arbitrary
|
// the database version.
|
||||||
// keys.
|
// Notes:
|
||||||
// ├──version : <varint> - Latest version, see migrations
|
// * `╘══*...*` refers to maps with arbitrary keys
|
||||||
|
// * `version` is a key to a numeric value identifying the minor revisions
|
||||||
|
// of schema version
|
||||||
|
// * a namespace in a schema bucket cannot be named "version"
|
||||||
|
//
|
||||||
// └──v1 - Schema version bucket
|
// └──v1 - Schema version bucket
|
||||||
|
// ├──version : <varint> - Latest version, see migrations
|
||||||
// ╘══*namespace*
|
// ╘══*namespace*
|
||||||
// ├──labels
|
// ├──labels
|
||||||
// │ ╘══*key* : <string> - Label value
|
// │ ╘══*key* : <string> - Label value
|
||||||
|
Loading…
Reference in New Issue
Block a user