diff --git a/sql/14-increase_owner_pubkey.sql b/sql/14-increase_owner_pubkey.sql new file mode 100644 index 000000000..0b81e2542 --- /dev/null +++ b/sql/14-increase_owner_pubkey.sql @@ -0,0 +1,12 @@ +-- +-- Increase the char limit of owner_public_key from 256 to 512. +-- + +-- pew-pew +\connect blobber_meta; + +-- in a transaction +BEGIN; + ALTER TABLE allocations + ALTER COLUMN owner_public_key TYPE varchar(512); +COMMIT;