Tweak wording, and comment on the resolution of the timestamp

This commit is contained in:
Mark Haines 2017-06-09 15:33:55 +01:00
parent 0d147d708c
commit e8944fc48a
2 changed files with 2 additions and 2 deletions

View file

@ -20,7 +20,7 @@ import (
)
// A Database implements gomatrixserverlib.KeyDatabase and is used to store
// the public keys downloaded for other matrix servers.
// the public keys for other matrix servers.
type Database struct {
statements serverKeyStatements
}

View file

@ -31,7 +31,7 @@ CREATE TABLE IF NOT EXISTS server_keys (
-- Combined server name and key ID separated by the ASCII unit separator
-- to make it easier to run bulk queries.
server_name_and_key_id TEXT NOT NULL,
-- When the keys are valid until.
-- When the keys are valid until as a millisecond timestamp.
valid_until_ts BIGINT NOT NULL,
-- The raw JSON for the server key.
server_key_json TEXT NOT NULL,