Change nars size to bigint

As some nars can be bigger than the maximum size of an int.
This commit is contained in:
Christopher Baines 2019-12-05 14:09:28 +01:00
parent d2405f6c77
commit 5168b38c2a
4 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,7 @@
-- Deploy guix-data-service:change_nars_size_to_bigint to pg
BEGIN;
ALTER TABLE nars ALTER COLUMN size TYPE bigint USING size::bigint;
COMMIT;