satellite/satellitedb/dbx: document peer_identity table

Change-Id: I112ef00cb80638a8168dd46a531522b0785b537a
This commit is contained in:
Egon Elbre 2023-02-23 15:24:43 +02:00
parent cf324c5b6e
commit 4a6e34bb2c

View File

@ -1,11 +1,14 @@
//--- peer_identity ---//
// peer_identity is a cache for storagenode certificates.
model peer_identity (
key node_id
// node_id refers to storj.NodeID.
field node_id blob
// leaf_serial_number is the certificate serial number.
field leaf_serial_number blob (updatable)
field chain blob (updatable) // x509 ASN.1 DER content
// chain is the x509 certificate as ASN.1 DER.
field chain blob (updatable)
// updated_at is the time it was last updated.
field updated_at timestamp ( autoinsert, autoupdate )
)