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:
Robert Swain 2017-04-26 12:19:47 +02:00
parent d9ee22d043
commit c1e5974872

View file

@ -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.