fix #8839: update bolb size type to bigint

and extend the length of content type to 1024

Signed-off-by: wang yan <wangyan@vmware.com>
This commit is contained in:
wang yan 2019-08-27 00:39:31 +08:00
parent 3868d54b5c
commit 28f7b7a64e

View File

@ -17,8 +17,8 @@ CREATE TABLE blob
digest of config, layer, manifest
*/
digest varchar(255) NOT NULL,
content_type varchar(255) NOT NULL,
size int NOT NULL,
content_type varchar(1024) NOT NULL,
size bigint NOT NULL,
creation_time timestamp default CURRENT_TIMESTAMP,
UNIQUE (digest)
);