From 28f7b7a64e12a79523492908e91bfc8fc36199e1 Mon Sep 17 00:00:00 2001 From: wang yan Date: Tue, 27 Aug 2019 00:39:31 +0800 Subject: [PATCH] fix #8839: update bolb size type to bigint and extend the length of content type to 1024 Signed-off-by: wang yan --- make/migrations/postgresql/0010_1.9.0_schema.up.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/make/migrations/postgresql/0010_1.9.0_schema.up.sql b/make/migrations/postgresql/0010_1.9.0_schema.up.sql index 80725fbe4..6aaa3f8d4 100644 --- a/make/migrations/postgresql/0010_1.9.0_schema.up.sql +++ b/make/migrations/postgresql/0010_1.9.0_schema.up.sql @@ -16,9 +16,9 @@ CREATE TABLE blob /* digest of config, layer, manifest */ - digest varchar(255) NOT NULL, - content_type varchar(255) NOT NULL, - size int NOT NULL, + digest varchar(255) NOT NULL, + content_type varchar(1024) NOT NULL, + size bigint NOT NULL, creation_time timestamp default CURRENT_TIMESTAMP, UNIQUE (digest) );