0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-09-30 23:09:01 +02:00

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,
-- The file name with which the media was uploaded.
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,
-- The user who uploaded the file. Should be a Matrix user ID.
user_id TEXT NOT NULL