From: Nicolas Boisselier Date: Tue, 9 Jan 2018 02:58:48 +0000 (+0000) Subject: lib/postgres/mime.sql X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=b9bef2fe32111b6a0d531b239d5b58b2af193f36;p=nb.git lib/postgres/mime.sql --- diff --git a/lib/postgres/mime.sql b/lib/postgres/mime.sql index 9e10ba61..d4bdd32e 100644 --- a/lib/postgres/mime.sql +++ b/lib/postgres/mime.sql @@ -1,8 +1,8 @@ DROP TABLE IF EXISTS mime; CREATE TABLE IF NOT EXISTS mime ( - ext varchar(128), - type varchar(128) NOT NULL DEFAULT '', - name varchar(128), + ext varchar(12), + type varchar(80) NOT NULL DEFAULT '', + name varchar(100), PRIMARY KEY(type,ext) ); CREATE INDEX IF NOT EXISTS mime_ext_idx ON mime (ext);