fix: change art_size to bigint in migrations

Signed-off-by: He Weiwei <hweiwei@vmware.com>
This commit is contained in:
He Weiwei 2021-05-11 04:00:54 +00:00
parent e006f4bab5
commit 476732df89

View File

@ -31,7 +31,7 @@ ALTER TABLE execution ADD COLUMN IF NOT EXISTS update_time timestamp;
DO $$
DECLARE
art RECORD;
art_size integer;
art_size bigint;
BEGIN
FOR art IN SELECT * FROM artifact WHERE size = 0
LOOP