mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-07 23:13:11 -06:00
mediaapi/storage: Remove DEFAULT from content_disposition in schema
It isn't very effective at all as we will anyway write an empty string. We can handle what to do about that in the query code paths.
This commit is contained in:
parent
d9ee22d043
commit
c1e5974872
|
|
@ -31,7 +31,7 @@ CREATE TABLE IF NOT EXISTS media_repository (
|
|||
-- The MIME-type of the media file.
|
||||
content_type TEXT NOT NULL,
|
||||
-- The HTTP Content-Disposition header for the media file.
|
||||
content_disposition TEXT NOT NULL DEFAULT 'inline',
|
||||
content_disposition TEXT NOT NULL,
|
||||
-- Size of the media file in bytes.
|
||||
file_size BIGINT NOT NULL,
|
||||
-- When the content was uploaded in ms.
|
||||
|
|
|
|||
Loading…
Reference in a new issue