mediaapi/storage: Refer to RFC instead of golang for base64 format

This commit is contained in:
Robert Swain 2017-05-31 07:11:00 +02:00
parent 61329ee380
commit 523303277e

View file

@ -40,7 +40,7 @@ CREATE TABLE IF NOT EXISTS media_repository (
creation_ts BIGINT NOT NULL, creation_ts BIGINT NOT NULL,
-- The file name with which the media was uploaded. -- The file name with which the media was uploaded.
upload_name TEXT NOT NULL, upload_name TEXT NOT NULL,
-- A golang base64 URLEncoding string representation of a SHA-256 hash sum of the file data. -- Alternate RFC 4648 unpadded base64 encoding string representation of a SHA-256 hash sum of the file data.
base64hash TEXT NOT NULL, base64hash TEXT NOT NULL,
-- The user who uploaded the file. Should be a Matrix user ID. -- The user who uploaded the file. Should be a Matrix user ID.
user_id TEXT NOT NULL user_id TEXT NOT NULL