Change nars size to bigint
As some nars can be bigger than the maximum size of an int.
This commit is contained in:
parent
d2405f6c77
commit
5168b38c2a
4 changed files with 22 additions and 0 deletions
7
sqitch/deploy/change_nars_size_to_bigint.sql
Normal file
7
sqitch/deploy/change_nars_size_to_bigint.sql
Normal 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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue